eval_spatial | R Documentation |
Evaluate spatial covariates
eval_spatial(data, where, layer = NULL, selector = NULL)
## S3 method for class 'SpatialPolygonsDataFrame'
eval_spatial(data, where, layer = NULL, selector = NULL)
## S3 method for class 'SpatialPixelsDataFrame'
eval_spatial(data, where, layer = NULL, selector = NULL)
## S3 method for class 'SpatialGridDataFrame'
eval_spatial(data, where, layer = NULL, selector = NULL)
## S3 method for class 'sf'
eval_spatial(data, where, layer = NULL, selector = NULL)
## S3 method for class 'SpatRaster'
eval_spatial(data, where, layer = NULL, selector = NULL)
## S3 method for class 'stars'
eval_spatial(data, where, layer = NULL, selector = NULL)
data |
Spatial data |
where |
Where to evaluate the data |
layer |
Which |
selector |
The name of a variable in |
eval_spatial(SpatialPolygonsDataFrame)
: Compatibility wrapper for eval_spatial.sf
eval_spatial(sf)
: Supports point-in-polygon information lookup.
Other combinations are untested.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.