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

rownames

Row names of two-dimensional RasterArray or SpatialArray objects


Description

Get or set the row names of two-dimensional RasterArray or SpatialArrayobjects

Usage

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

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

Arguments

x

RasterArray or SpatialArray object.

value

character vector.

Value

A character vector of row names or NULL.

Examples

data(coasts)
rownames(coasts)
rownames(coasts) <- paste(rownames(coasts), "Ma")

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.