load_layers | R Documentation |
Method to load rasters from disk or from the internet. By default a RasterStack is returned but this is only possible When all rasters have the same spatial extent and resolution.
load_layers(layercodes, equalarea=FALSE, rasterstack=TRUE,
datadir=NULL)
layercodes |
character vector or dataframe. Layer_codes of the layers to be loaded or dataframe with a "layer_code" column. |
equalarea |
logical. If |
rasterstack |
logical. If |
datadir |
character. Directory where you want to store the data. If
|
RasterStack or list of raster
list_layers
, layer_stats
,
layers_correlation
## Not run:
# warning using tempdir() implies that data will be downloaded again in the
# next R session
env <- load_layers("BO_calcite", datadir = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.