gsiaddclass: Internal function: give a derived subclass to an object

gsi.addclassR 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")

compositions documentation built on June 22, 2024, 12:15 p.m.