Learn R Programming

compositions (version 2.0-8)

rplus-class: Class "rplus"

Description

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

Arguments

Objects from the Class

A virtual Class: No objects may be directly created from it. This is provided to ensure that rplus objects behave as data.frame or structure under certain circumstances. Use rplus 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 = "rplus", to = "data.frame"): to generate a data.frame

coerce

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

coerce<-

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

Author

Raimon Tolosana-Delgado

References

see rplus

See Also

see rplus

Examples

Run this code
showClass("rplus")

Run the code above in your browser using DataLab