colNameMatrix | R Documentation |
Create a copy of your matrix, where every entry is replaced by the corresponding column name. Useful if you want to color by column name in a plot (where you have different number of NA-values in each column).
colNameMatrix(mat_w_dimnames)
mat_w_dimnames |
A named matrix to copy from. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.