setcolnames | R Documentation |
This function renames the column names of a data frame or matrix to the specified names.
setcolnames(object = nm, nm)
object |
A data frame or matrix whose column names will be renamed. |
nm |
A character vector containing the new names for the columns. |
A data frame or matrix with the new column names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.