
Last chance! 50% off unlimited learning
Sale ends in
This function renames the row names of a data frame or matrix to the specified names.
setrownames(object = nm, nm)
A data frame or matrix with the new row names.
A data frame or matrix whose row names will be renamed.
A character vector containing the new names for the rows.