powered by
RasterArray
SpatialArray
Get or set the column names of two-dimensional codeRasterArray or SpatialArray objects
# S4 method for XArray colnames(x)# S4 method for XArray colnames(x) <- value
# S4 method for XArray colnames(x) <- value
RasterArray or SpatialArray object.
character vector.
character
A character vector of column names or NULL.
NULL
# NOT RUN { data(coasts) colnames(coasts) colnames(coasts) <- c("a", "b") # }
Run the code above in your browser using DataLab