| easyCODA-package | R Documentation |
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.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
Michael Greenacre [aut, cre]
Maintainer: Michael Greenacre <michael.greenacre@upf.edu>
Greenacre, Michael (2018, 2026) Compositional Data Analysis in Practice, 1st and 2nd editions. Chapman & Hall / CRC Press
ca
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.