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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.