unstack

0th

Percentile

Unstack

Create a list of RasterLayer objects from a RasterStack or RasterBrick

Keywords
spatial , methods
Usage
unstack(x, ...)
Arguments
x

a RasterStack object

...

not used. further arguments passed to or from other methods

Value

A list of RasterLayer objects

See Also

stack

Aliases
  • unstack
  • unstack,RasterStack-method
  • unstack,RasterBrick-method
Examples
# NOT RUN {
  file <- system.file("external/test.grd", package="raster")
  s <- stack(file, file)
  list1 <- unstack(s)
  b <- brick(s)
  list2 <- unstack(b)
# }
Documentation reproduced from package raster, version 3.0-12, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.