This is a convenience function that sets the rownames on an object, in the same manner as stats::setNames
setRowNames(object = nm, nm)
an object for which a ‘rownames’ attribute will be meaningful. Default: nm
a character vector of rownames to assign to the object
An object of the same sort as ‘object’ with the new rownames