Read raster layers that that have the same extent and resolution, all raster-package formats are accepted (see writeFormats)

rlayers_ntb(layers_path)

Arguments

layers_path

Path to the folder conteining raster layers. All layers in the folder have to have the same extent and resoltion

Value

Returns a raster stack of raster layers with the same extent and resolution

Examples

if (FALSE) { ## RasterStack with the niche variables nicheStack <- rlayers_ntb(list.files(system.file("extdata", package = "ntbox"), pattern = ".asc$",full.names = TRUE)) }