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