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)

miraisolutions/raster documentation built on May 30, 2019, 11:41 p.m.