Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


easybio (version 1.1.0)

setrownames: Rename Row Names of a Data Frame or Matrix

Description

This function renames the row names of a data frame or matrix to the specified names.

Usage

setrownames(object = nm, nm)

Value

A data frame or matrix with the new row names.

Arguments

object

A data frame or matrix whose row names will be renamed.

nm

A character vector containing the new names for the rows.