gsi.addclass {compositions} | R Documentation |
Internal function: give a derived subclass to an object
Description
This function just extends the class of an object by the given class.
Usage
gsi.addclass( x , cls)
Arguments
x |
the object |
cls |
the new additional class |
Value
The object x with additional class attached.
Note
Do not use gsi.* functions directly since they are internal functions of the package
Author(s)
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
Examples
x=rplus(1:10)
x
#gsi.addclass(x,"goofy")
[Package compositions version 2.0-8 Index]