add_class | R Documentation |
Add A New Class
add_class(x, define_class)
x |
An object. |
define_class |
A new self-defined class |
a <- matrix(rnorm(1000), nrow = 100)
a <- add_class(a, 'my_matrix')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.