Learn R Programming

chronosphere (version 0.4.1)

layers: Names of RasterArray or SpatialArray Layers in the stack

Description

Names of RasterArray or SpatialArray Layers in the stack

Usage

layers(x, ...)

# S4 method for XArray layers(x)

Value

A character vector of names.

Arguments

x

A RasterArray or SpatialArray class object.

...

additional arguments passed to class-specific methods.

Examples

Run this code
# names of layers in the stack
data(dems)
layers(dems)

Run the code above in your browser using DataLab