powered by
AddClass(x, class, after = 0) RemoveClass(x, class)
R
class
append
x <- letters[1:5] x <- AddClass(x, c("special", "letter")) class(x) x <- RemoveClass(x, "character") class(x)
Run the code above in your browser using DataLab