Add a class in first place
Add a new class name to the classes of an R object, and make it the first in the list of classes the objects belongs to.
firstclass(x) <- value
the object the new class is assigned to. Needs to be an object that can be copied.
character string with the new class name.
The same object x, now belonging (additionally) to the
class given as
Ute Hahn, email@example.com
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.