add_class | R Documentation |
Add class to object whilst keeping the old classes
add_class(x, class)
x |
a R object |
class |
A character vector naming classes |
library(purrr) l <- list(important_number = 42) %>% add_class("my_list")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.