gsi.addclass {compositions}R Documentation

Internal function: give an object a derived subclass

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

gsi.addclass(1:10,"goofy")

[Package compositions version 0.9-11 Index]