Description Usage Arguments Value Examples
View source: R/create_biovar_stack.R
Select historic and future bioclimatic variable rasters from directory, create ensembles, create a stacks, optionally convert to principle components and optionally mask by land. Note this function can take a while....
1 2 3 4 5 6 7 | create_biovar_stack(region = "biovar_Sweden",
biovar_list = c("biovar01", "biovar02", "biovar03", "biovar04",
"biovar05", "biovar06", "biovar07", "biovar08", "biovar09", "biovar10",
"biovar11", "biovar12", "biovar13", "biovar14", "biovar15", "biovar16"),
scenario_list = c("rcp45", "rcp85", "rcp26", "rcp60"),
path = "inst/ext_data/bioclimatic", mask_by_land = T,
pca_transform = T)
|
region |
String representing the region directory |
biovar_list |
List of string representing the biovar codes |
path |
String representing the path to the bioclimatic directory |
A named list with the region as first level containing lists of; data file paths, processed historical and future biovariable rasters, polygon of land, the biovariable and scenario lists used, and optionally a pca model of the historical biovariables.
1 2 3 4 5 6 7 8 9 10 11 12 | bvso <- create_biovar_stack(
region='biovar_Sweden',
biovar_list= c("biovar01","biovar02","biovar03","biovar04","biovar05","biovar06",
"biovar07","biovar08","biovar09","biovar10","biovar11","biovar12",
"biovar13","biovar14","biovar15","biovar16"),
scenario_list=c("rcp45", "rcp85", "rcp26", "rcp60"),
path="inst/ext_data/bioclimatic",
mask_by_land = T,
pca_transform = T
)
names(bvso)
names(bvso[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.