robCompositions2.4.1 package

Compositional Data Analysis

compareMahal

Compares Mahalanobis distances from two approaches

compositionalSpline

Compositional spline

constSum

Constant sum

addLR

Additive logratio coordinates

addLRinv

Inverse additive logratio mapping

aDist

Aitchison distance

adjust

Adjusting for original scale

adtest

Anderson-Darling Normality Tests

adtestWrapper

Wrapper for Anderson-Darling tests

balances

Balance calculation

biomarker

biomarker

biplot.factanal

Biplot method

biplot.pcaCoDa

Biplot method

bootnComp

Bootstrap to find optimal number of components

bpc

Backwards pivot coordinates and their inverse

bpcPca

Principal component analysis based on backwards pivot coordinates

bpcPcaTab

Principal component analysis of compositional tables based on backward...

bpcReg

Classical and robust regression based on backwards pivot coordinates

bpcRegTab

Classical and robust regression based on backwards pivot coordinates

bpcTab

Backwards pivot coordinates and their inverse

bpcTabWrapper

Backwards pivot coordinates and their inverse

ced

Compositional error deviation

cenLR

Centred logratio coefficients

cenLRinv

Inverse centred logratio mapping

clustCoDa

Cluster analysis for compositional data

clustCoDa_qmode

Q-mode cluster analysis for compositional parts

coord

Coordinate representation of compositional tables

corCoDa

Correlations for compositional data

cubeCoord

Coordinate representation of a compositional cube and of a sample of c...

daCoDa

Linear and quadratic discriminant analysis for compositional data.

daFisher

Discriminant analysis by Fisher Rule.

fcenLR

fcenLR transformation (functional)

fcenLRinv

Inverse of fcenLR transformations (functional)

fcenLRp

fcenLRp transformation (functional)

fcenLRu

fcenLRu transformation (functional)

gm

gmean

gmean

Geometric mean

ilr.2x2

ilr coordinates in 2x2 compositional tables

impAll

Replacement of rounded zeros and missing values.

impCoda

Imputation of missing values in compositional data

impKNNa

Imputation of missing values in compositional data using knn methods

impRZalr

alr EM-based imputation of rounded zeros

impRZilr

EM-based replacement of rounded zeros in compositional data

imputeBDLs

EM-based replacement of rounded zeros in compositional data

imputeUDLs

Imputation of values above an upper detection limit in compositional d...

ind2x2

Independence 2x2 compositional table

indTab

Independence table

int2x2

Interaction 2x2 table

intArray

Interaction array

intTab

Interaction table

is.equivalent

equivalence class

lmCoDaX

Classical and robust regression of non-compositional (real) response o...

missPatterns

missing or zero pattern structure.

norm1

Normalize a vector to length 1

orthbasis

Orthonormal basis

outCoDa

Outlier detection for compositional data

pcaCoDa

Robust principal component analysis for compositional data

perturbation

Perturbation and powering

pfa

Factor analysis for compositional data

pivotCoord

Pivot coordinates and their inverse

plot.imp

Plot method for objects of class imp

plot.pcaCoDa

Plot method

plot.smoothSpl

plot smoothSpl

print.imp

Print method for objects of class imp

pTab

Propability table

rdcm

relative difference between covariance matrices

robCompositions-package

Robust Estimation for Compositional Data.

rSDev

Relative simplicial deviance

rSDev.test

Relative simplicial deviance tests

SDev

Simplicial deviance

smoothSplines

Estimate density from histogram

smoothSplinesVal

Estimate density from histogram - for different alpha

stats

Classical estimates for tables

summary.imp

Summary method for objects of class imp

tabCoord

Coordinate representation of compositional tables and a sample of comp...

ternaryDiag

Ternary diagram

ternaryDiagAbline

Adds a line to a ternary diagram.

ternaryDiagEllipse

Adds tolerance ellipses to a ternary diagram.

ternaryDiagPoints

Add points or lines to a given ternary diagram.

trapzc

Trapezoidal formula for numerical integration

variation

Robust and classical variation matrix

weightedPivotCoord

Weighted pivot coordinates

ZBsplineBasis

ZB-spline basis

zeroOut

Detection of outliers of zero-inflated data

Methods for analysis of compositional data including robust methods (<doi:10.1007/978-3-319-96422-5>), imputation of missing values (<doi:10.1016/j.csda.2009.11.023>), methods to replace rounded zeros (<doi:10.1080/02664763.2017.1410524>, <doi:10.1016/j.chemolab.2016.04.011>, <doi:10.1016/j.csda.2012.02.012>), count zeros (<doi:10.1177/1471082X14535524>), methods to deal with essential zeros (<doi:10.1080/02664763.2016.1182135>), (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 (<doi:10.1016/j.csda.2015.07.007>) and p-splines (<doi:10.1016/j.csda.2015.07.007>), contingency (<doi:10.1080/03610926.2013.824980>) and compositional tables (<doi:10.1111/sjos.12326>, <doi:10.1111/sjos.12223>, <doi:10.1080/02664763.2013.856871>) 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.

  • Maintainer: Matthias Templ
  • License: GPL (>= 2)
  • Last published: 2023-08-25