Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dimnames

Names of multidimensional RasterArray or SpatialArray objects.


Description

Get or set the dimnames of multidimensional RasterArray or SpatialArray objects

Usage

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

## S4 replacement method for signature 'XArray'
dimnames(x) <- value

Arguments

x

RasterArray or SpatialArray object.

value

character vector.

Value

A list of character vectors or NULL.

Examples

data(dems)
dimnames(dems)
data(coasts)
dimnames(coasts)
dimnames(coasts)[[2]] <- c("first", "second")

chronosphere

Earth System History Variables

v0.4.1
CC BY 4.0
Authors
Adam T. Kocsis, Nussaibah B. Raja
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.