sdm_scenario | R Documentation |
Creates a hierarchy of scenarios to use with SDM_area
sdm_scenario(a_scenario = NULL, var_names = NULL)
a_scenario |
A folder containing a hierarchy of inner folders. Leafs of the folders must contain rasters. |
var_names |
A list of layer names to keep on rasters. It try to match each variable name (ignoring case and partially matched) |
A SDM_scenario object containing the whole hierarchy.
## Not run: a_dir <- tempdir() %>% dir_path("scenarios_folder") system.file("rast_files", package="sdmTools") %>% dir_copy(a_dir, overwrite = T) tmp_scenario <- a_dir %>% sdm_scenario() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.