set_class | R Documentation |
Set class of an object. Optionally append or prepend to exiting class attributes. 'add_class' is short for 'set_class(x, class, "prepend")'. 'strip_class' removes matching class strings from the class attribute vector.
set_class(x, class, add = c("overwrite", "prepend", "append"))
add_class(x, class)
strip_class(x, class)
x |
Object to assign new class to. |
class |
Class value to add/strip. |
Object x as class value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.