prependClass | R Documentation |
Prepend a class attribute to existing class attribute
prependClass(x, className)
x |
An object |
className |
Class name to prepend to existing class attribute of x |
Returns x with updated class attribute
prependClass(mtcars, "Foo") |> class()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.