
Last chance! 50% off unlimited learning
Sale ends in
This function just extends the class of an object by the given class.
gsi.addclass( x , cls)
the object
the new additional class
The object x with additional class attached.
# NOT RUN {
x=rplus(1:10)
x
#gsi.addclass(x,"goofy")
# }
Run the code above in your browser using DataLab