Extend the class attribute by a given class name
addClass(x, className, first = TRUE, dbg = FALSE)
x | R object |
---|---|
className | name of the class to be added to |
first | if |
dbg | if |
x
with the class
attributed extended by
className
(only if x
did not yet inherit from
className
)