Learn R Programming

chronosphere (version 0.3.1)

layers: Names of RasterArray's Layers in the stack

Description

Names of RasterArray's Layers in the stack

Usage

layers(x, ...)

# S4 method for RasterArray layers(x)

Arguments

x

A RasterArray class object.

...

additional arguments passed to class-specific methods.

Value

A character vector of names.

Examples

Run this code
# NOT RUN {
# names of layers in the stack
data(dems)
layers(dems)
# }

Run the code above in your browser using DataLab