Sf to raster r. field character (or numeric vector).