unstack.Rd
Create a list of RasterLayer objects from a RasterStack or RasterBrick
unstack(x, ...)
A list of RasterLayer objects
file <- system.file("external/test.grd", package="raster")
s <- stack(file, file)
list1 <- unstack(s)
b <- brick(s)
list2 <- unstack(b)