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