R: Create a raster from an sf object

raster,sf-method {fasterize} | R Documentation

## Create a raster from an sf object

### Description

See `raster::raster()` for more details.

### Usage

    ## S4 method for signature 'sf'
    raster(x, origin, ...)

### Arguments

`x` | an sf object
`origin` | the origin point of the output raster
`...` | Additional arguments, see `raster::raster()` for more details.

[Package fasterize version 1.0.3 Index]