layers: Names of 'RasterArray' or 'SpatialArray' Layers in the stack

Description Usage Arguments Value Examples

Description

Names of RasterArray or SpatialArray Layers in the stack

Usage

1
2
3
4
layers(x, ...)

## S4 method for signature 'XArray'
layers(x)

Arguments

x

A RasterArray or SpatialArray class object.

...

additional arguments passed to class-specific methods.

Value

A character vector of names.

Examples

1
2
3
# names of layers in the stack
data(dems)
layers(dems)

chronosphere documentation built on April 19, 2021, 1:07 a.m.