If the user specifies 'rowname_col', this column is extracted from the data-frame and used to define the rownames of the matrix (the original column is removed).
1 |
x |
A data-frame to be converted to a matrix. |
rowname_col |
An (optional) column of the data-frame that is to be extracted into the rownames of the returned matrix. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.