Methods for analysis of compositional data including robust
methods (), imputation of missing values (), methods to replace
rounded zeros (, , ),
count zeros (),
methods to deal with essential zeros (), (robust) outlier
detection for compositional data, (robust) principal component analysis for
compositional data, (robust) factor analysis for compositional data, (robust)
discriminant analysis for compositional data (Fisher rule), robust regression
with compositional predictors, functional data analysis () and p-splines (),
contingency ()
and compositional tables (, , )
and (robust) Anderson-Darling normality tests for
compositional data as well as popular log-ratio transformations (addLR, cenLR,
isomLR, and their inverse transformations). In addition, visualisation and
diagnostic tools are implemented as well as high and low-level plot functions
for the ternary diagram.
Robust Methods for Compositional Data
using robCompositions
data(expenditures)
p1 <- pcaCoDa(expenditures)
plot(p1)
What is it?
Imputation of compositional data including robust methods, methods to impute rounded zeros
Outlier detection for compositional data using robust methods
Principal component analysis for compositional data using robust methods
Factor analysis for compositional data using robust methods
Discriminant analysis for compositional data (Fisher rule) using robust methods
Robust regression with compositional predictors
Anderson-Darling normality tests for compositional data
log-ratio transformations (addLR, cenLR, isomLR, and their inverse transformations).
In addition, visualisation and diagnostic tools are implemented as well as high and low-level plot functions for the
ternary diagram.
Goals
never use classical statistical methods on raw compositional data again.
Getting Started
The package has dependencies on
R (>= 2.10), utils, robustbase, rrcov, car (>= 2.0-0), MASS, pls
Installation
Installion of robCompositions is really easy for registered users (when the R-tools are installed). Just use
+ function impAll included.
+ robGUI excluded (is now put in the compositionsGUI package)
Changes in robCompositions version 1.6.2
+ alr, clr, ilr, invalr, invclr, invilr are now deprecated. The new functions are called
addLR, cenLR, isomLR, addLRinv, cenLRinv, isomLRinv
+ new functions gm, orthbasis, missPatterns and zeroPatterns
+ return instead of invisible return for all log-ratio transformations
Changes in robCompositions version 1.5.0
+ variable names in expendiure data corrected
+ graphical user interface added
+ vignette about an overview of the package added
+ alrEM() function now renamed in impRZalr() to be consistent with notation
Changes in robCompositions version 1.4.6
+ correct transformation of the detection limit in impRZilr when having not constant sum 1.
Changes in robCompositions version 1.4.5
+ Bug in alrEM fixed.
+ impRZilr included, but without documentation.
Changes in robCompositions version 1.4.4
+ Description for the Expenditures data changed. Wrong variable description fixed.
+ Wrong formula in robVariation method robust=FALSE fixed after an comment
from from Mark Engle (thanks!).
+ Improved code in 'CITATION' file.