Evaluate spatial covariates
eval_spatial(data, where, layer = NULL, selector = NULL)# S3 method for SpatialPolygonsDataFrame
eval_spatial(data, where, layer = NULL, selector = NULL)
# S3 method for SpatialPixelsDataFrame
eval_spatial(data, where, layer = NULL, selector = NULL)
# S3 method for SpatialGridDataFrame
eval_spatial(data, where, layer = NULL, selector = NULL)
# S3 method for sf
eval_spatial(data, where, layer = NULL, selector = NULL)
# S3 method for SpatRaster
eval_spatial(data, where, layer = NULL, selector = NULL)
# S3 method for stars
eval_spatial(data, where, layer = NULL, selector = NULL)
Spatial data
Where to evaluate the data
Which data
layer to extract (as integer or character).
May be a vector, specifying a separate layer for each where
item.
The name of a variable in where
specifying the layer
information.
eval_spatial(SpatialPolygonsDataFrame)
: Compatibility wrapper for eval_spatial.sf
eval_spatial(sf)
: Supports point-in-polygon information lookup.
Other combinations are untested.