Skip to contents

S4 classes to represent log-ratio data transformations.

Slots

totals

A numeric vector to store the absolute row sums (before the closure of the compositions).

codes

A character vector to store the laboratory codes (unique identifiers).

samples

A character vector to store the sample identifiers (allows duplicates in case of repeated measurements).

groups

A character vector to store the group names (if any).

parts

A character vector to store the part names.

ratio

A character vector to store the ratio names.

order

An integer vector to store the original ordering of the columns.

base

A numeric matrix to store the basis of the transformation.

weights

A numeric vector to store the weights assigned to the respective log-ratios.

Note

These classes inherit from matrix.

Coerce

In the code snippets below, x is a LogRatio object.

as.data.frame(x)

Coerces to a data.frame.

Author

N. Frerebeau