make_raster_stack | R Documentation |
Make a raster stack from multiple raster layers that can be opened with (i.e. raster .grd, GeoTIFF, EHDR)
make_raster_stack(
file_path,
file_name_contains = NULL,
file_type = ".tif",
wrap
)
file_path |
Path to the directory containing raster files |
file_name_contains |
Character vector to filter on. (e.g., using "ste_" will ignore all filepaths that don't contain the characters sequence) |
file_type |
File type. Default = ".tif" for GeoTIFF. Also works with native raster .grd and other stackable raster formats. |
wrap |
Should the SpatRaster be used to create a Packged object (i.e., an object that can be saved as an R object to disk such as .RData or .rds)? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.