add_class adds the specified class to the beginning of an object's class attribute vector. The object retains all previous class memberships.
1 | add_class(x, new.class)
|
x |
an object to be given a new class |
new.class |
a character string |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.