Closed bsmity13 closed 2 years ago
raster::extract() has argument factors = FALSE. If TRUE, extract() returns a factor, else it returns an integer.
raster::extract()
factors = FALSE
TRUE
extract()
Would be nice to have access to that argument from extract_covariates().
extract_covariates()
This is not trivial, due to the fact how the raster package deals with factors. I will implement this when moving to terra.
raster::extract()
has argumentfactors = FALSE
. IfTRUE
,extract()
returns a factor, else it returns an integer.Would be nice to have access to that argument from
extract_covariates()
.