dimnames: Names of a multidimensional "VirtualArray"-derived class...

dimnames,VirtualArray-methodR Documentation

Names of a multidimensional 'VirtualArray'-derived class object.

Description

Get or set the dimnames of multidimensional VirtualArray-derived class object.

Usage

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

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

Arguments

x

RasterArray or SfArray object.

value

character vector.

Value

A list of character vectors or NULL.

Examples

ex <- rastex()
dimnames(ex)
data(paleocoastlines)
dimnames(paleocoastlines)
dimnames(paleocoastlines)[[2]] <- c("first", "second")
names(dimnames(paleocoastlines)) <- c("age", "type")

via documentation built on May 31, 2023, 8:31 p.m.

Related to dimnames in via...