setcolnames {easybio} | R Documentation |
Rename Column Names of a Data Frame or Matrix
Description
This function renames the column names of a data frame or matrix to the specified names.
Usage
setcolnames(object, nm)
Arguments
object |
A data frame or matrix whose column names will be renamed. |
nm |
A character vector containing the new names for the columns. |
Value
A data frame or matrix with the new column names.
[Package easybio version 1.1.1 Index]