unstack: Unstack

Description Usage Arguments Value See Also Examples

Description

Create a list of RasterLayer objects from a RasterStack or RasterBrick

Usage

1

Arguments

x

a RasterStack object

...

not used. further arguments passed to or from other methods

Value

A list of RasterLayer objects

See Also

stack

Examples

1
2
3
4
5
  file <- system.file("external/test.grd", package="raster")
  s <- stack(file, file)
  list1 <- unstack(s)
  b <- brick(s)
  list2 <- unstack(b)

raster documentation built on Nov. 17, 2017, 5:51 a.m.