easyCODAfinal-package: Compositional Data Analysis in Practice

easyCODA-packageR Documentation

Compositional Data Analysis in Practice

Description

Univariate and multivariate methods for compositional data analysis, based on logratios. The package implements the approach in the book Compositional Data Analysis in Practice by Michael Greenacre (2018, 2026), where accent is given to simple pairwise logratios. Selection can be made of logratios that account for a maximum percentage of logratio variance or maximize prediction accuracy of a response variable. Various multivariate analyses of logratios are included in the package.

Details

The DESCRIPTION file: This package was not yet installed at build time.
Index: This package was not yet installed at build time.

Author(s)

Michael Greenacre [aut, cre]

Maintainer: Michael Greenacre <michael.greenacre@upf.edu>

References

Greenacre, Michael (2018, 2026) Compositional Data Analysis in Practice, 1st and 2nd editions. Chapman & Hall / CRC Press

See Also

ca

Examples

# Roman cups glass compositions
# Notice that from version 0.50 of easyCODA onwards, coinciding with the 
# 2nd edition of COmpositional Data Analysis in Practice, the function default 
# is now weight = FALSE for unweighted analysis (i.e., equally weighted parts) 
data(RomanCups)
# unweighted logratio analysis
cups.ulra <- LRA(RomanCups)
PLOT(cups.ulra)
# weighted logratio analysis
cups.wlra <- LRA(RomanCups, weight=TRUE)
PLOT(cups.wlra)

easyCODA documentation built on Nov. 24, 2026, 1:07 a.m.