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

rmult-class

Class "rmult"


Description

The S4-version of the data container "rmult" for compositional data. More information in rmult

Objects from the Class

A virtual Class: No objects may be directly created from it. This is provided to ensure that rmult objects behave as data.frame or structure under certain circumstances. Use rmult to create these objects.

Slots

.Data:

Object of class "list" containing the data itself

names:

Object of class "character" with column names

row.names:

Object of class "data.frameRowLabels" with row names

.S3Class:

Object of class "character" with the class string

Extends

Class "data.frame", directly. Class "compositional", directly. Class "list", by class "data.frame", distance 2. Class "oldClass", by class "data.frame", distance 2. Class "vector", by class "data.frame", distance 3.

Methods

coerce

signature(from = "rmult", to = "data.frame"): to generate a data.frame

coerce

signature(from = "rmult", to = "structure"): to generate a structure (i.e. a vector, matrix or array)

coerce<-

signature(from = "rmult", to = "data.frame"): to overwrite a composition with a data.frame

Note

see rmult

Author(s)

Raimon Tolosana-Delgado

References

see rmult

See Also

see rmult

Examples

showClass("rmult")

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.