View source: R/load_covariates.R
load_covariates | R Documentation |
Load covariates
load_covariates(
directory,
covariates_table,
id_raster,
year = NULL,
file_format = "tif",
add_intercept = FALSE,
check_previous_years = 10
)
directory |
Directory containing all covariate sub-directories |
covariates_table |
|
id_raster |
terra::SpatRaster with non-NA pixels delineating the extent of the study area |
year |
( |
file_format |
( |
add_intercept |
( |
check_previous_years |
( |
Load a list of covariates from a specified directory structure
A named list of formatted covariates. Each list item is a terra::SpatRaster
with one layer and the same dimensions as the id_raster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.