Similar to the setattr
or setnames
functions of
data.table
, but makes it slightly easier to set these attributes
in-place for matrices.
1 2 3 | setrownames(x, value)
setcolnames(x, value)
|
x |
Either a |
value |
Either |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.