powered by
RasterArray
SpatialArray
Get or set the row names of two-dimensional RasterArray or SpatialArrayobjects
# S4 method for XArray rownames(x)# S4 method for XArray rownames(x) <- value
# S4 method for XArray rownames(x) <- value
A character vector of row names or NULL.
character
NULL
RasterArray or SpatialArray object.
character vector.
data(coasts) rownames(coasts) rownames(coasts) <- paste(rownames(coasts), "Ma")
Run the code above in your browser using DataLab