Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gsiaddclass

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

Compositional Data Analysis

v2.0-1
GPL (>= 2)
Authors
K. Gerald van den Boogaart <boogaart@hzdr.de>, Raimon Tolosana-Delgado, Matevz Bren
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.