This is a convenience function that sets the row names and column names on an object and returns the object.
an object for which a names attribute will be meaningful
a character vector of names to assign to the object
An object of the same sort as object with the new names assigned.
Andri Signorell <email@example.com>
but it is merely a copy of
setNames extended for rows and columns
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.