Compositional: Compositional Data Analysis

A collection of functions for compositional data analysis.

AuthorMichail Tsagris [aut, cre], Giorgos Athineou [aut]
Date of publication2016-12-13 15:33:06
MaintainerMichail Tsagris <>
LicenseGPL (>= 2)

View on CRAN

Man pages

alfa: The alpha-transformation

alfadist: The alpha-distance

alfainv: Inverse of the alpha-transformation

alfa.pcr: Multivariate or univariate regression with compositional data...

alfapcr.tune: Tuning the number of PCs in the PCR with compositional data...

alfa.profile: Estimation of the value of alpha via the alfa profile...

alfa.rda: Regularised discriminant analysis for compositional data...

alfarda.tune: Cross validation for the regularised discriminant analysis...

alfa.reg: Regression with compositional data using the...

alfareg.tune: Tuning the value of alpha in the alpha-regression

alfa.ridge: Ridge regression with compositional data in the covariates...

alfaridge.plot: Ridge regression plot

alfaridge.tune: Cross validation for the ridge regression with compositional...

alfa.tune: Fast estimation of the value of alpha

bic.mixcompnorm: Mixture model selection via BIC

bivt.contour: Contour plot of the t distribution in S^2

comp.den: Estimating location and scatter parameters for compositional...

comp.kerncontour: Contour plot of the kernel density estimate in S^2

comp.knn: The k-NN algorithm for compositional data

compknn.tune: Tuning of the he k-NN algorithm for compositional data

Compositional-package: Compositional Data Analysis

comp.reg: Multivariate regression with compositional data

comp.test: Hypothesis testing for two or more compositional mean vectors

ddiri: Density values of a Dirichlet distribution

diri.contour: Contour plot of a Dirichlet distribution in S^2

diri.est: Fitting a Dirichlet distribution

dirimean.test: Log-likelihood ratio test for a Dirichlet mean vector Fitting a Dirichlet distribution via Newton-Rapshon

diri.reg: Dirichlet regression

eel.test1: Exponential empirical likelihood for a one sample mean vector...

eel.test2: Exponential empirical likelihood hypothesis testing for two...

el.test1: Empirical likelihood for a one sample mean vector hypothesis...

el.test2: Empirical likelihood hypothesis testing for two mean vectors

frechet: The Frechet mean for compositional data

glm.pcr: Principal component generalised linear models

glmpcr.tune: Tuning the principal components with GLMs

helm: The Helmert sub-matrix

hotel1T2: Hotelling's multivariate version of the 1 sample t-test for...

hotel2T2: Hotelling's multivariate version of the 2 sample t-test for...

james: James multivariate version of the t-test

kl.compreg: Divergence based regression for compositional data

kl.diri: Kullback-Leibler divergence and Bhattacharyya distance...

maov: Multivariate analysis of variance

maovjames: Multivariate analysis of variance (James test)

mix.compnorm: Gaussian mixture models for compositional data

mixnorm.contour: Contour plot of a Gaussian mixture model in S^2

mkde: Multivariate kernel density estimation

mkde.tune: Tuning of the bandwidth h of the kernel using the maximum...

multivreg: Multivariate linear regression

multivt: MLE for the multivarite t distribution

norm.contour: Contour plot of the normal distribution in S^2

ols.compreg: Non linear least squares regression for compositional data

pcr: Principal components regression

pcr.tune: Tuning of the principal components regression

rcompnorm: Multivariate normal random values simulation on the simplex

rcompsn: Multivariate skew normal random values simulation on the...

rcompt: Multivariate t random values simulation on the simplex

rda: Regularised discriminant analysis for Euclidean data

rda.tune: Tuning the parameters of the regularised discriminant...

rdiri: Dirichlet random values simulation

ridge.plot: Ridge regression plot

ridge.reg: Ridge regression

ridge.tune: Cross validation for the ridge regression

rmixcomp: Simulation of compositional data from Gaussian mixture models

skewnorm.contour: Contour plot of the skew skewnormal distribution in S^2 Spatial median for Euclidean data

spatmed.reg: Spatial median regression

sscov: Spatial sign covariance matrix

sym.test: Log-likelihood ratio test for a symmetric Dirichlet...

ternary: Ternary diagram


alfa Man page
alfadist Man page
alfainv Man page
alfa.knn Man page
alfaknn.tune Man page
alfa.pcr Man page
alfapcr.tune Man page
alfa.profile Man page
alfa.rda Man page
alfarda.tune Man page
alfa.reg Man page
alfareg.tune Man page
alfa.ridge Man page
alfaridge.plot Man page
alfaridge.tune Man page
alfa.tune Man page
bic.mixcompnorm Man page
bivt.contour Man page
comp.den Man page
comp.kerncontour Man page
comp.knn Man page
compknn.tune Man page
Compositional-package Man page
comp.reg Man page
comp.test Man page
ddiri Man page
diri.contour Man page
diri.est Man page
dirimean.test Man page Man page
diri.reg Man page
diri.reg2 Man page
eel.test1 Man page
eel.test2 Man page
el.test1 Man page
el.test2 Man page
frechet Man page
glm.pcr Man page
glmpcr.tune Man page
helm Man page
hotel1T2 Man page
hotel2T2 Man page
james Man page
js.compreg Man page
kl.compreg Man page
kl.diri Man page
maov Man page
maovjames Man page
mix.compnorm Man page
mixnorm.contour Man page
mkde Man page
mkde.tune Man page
multivreg Man page
multivt Man page
norm.contour Man page
ols.compreg Man page
pcr Man page
pcr.tune Man page
rcompnorm Man page
rcompsn Man page
rcompt Man page
rda Man page
rda.tune Man page
rdiri Man page
ridge.plot Man page
ridge.reg Man page
ridge.tune Man page
rmixcomp Man page
skewnorm.contour Man page Man page
spatmed.reg Man page
sscov Man page
sym.test Man page
ternary Man page


Compositional/R/ols.compreg.R Compositional/R/rcompnorm.R Compositional/R/alfa.reg.R Compositional/R/alfaknn.tune.R Compositional/R/multivt.R Compositional/R/mkde.tune.R Compositional/R/diri.reg2.R Compositional/R/hotel1T2.R Compositional/R/mkde.R Compositional/R/multivreg.R Compositional/R/rda.tune.R Compositional/R/diri.est.R Compositional/R/james.R Compositional/R/alfarda.tune.R Compositional/R/comp.test.R Compositional/R/eel.test2.R Compositional/R/sym.test.R Compositional/R/bic.mixcompnorm.R Compositional/R/sscov.R Compositional/R/el.test1.R Compositional/R/kl.compreg.R Compositional/R/glmpcr.tune.R Compositional/R/ Compositional/R/alfapcr.tune.R Compositional/R/alfa.profile.R Compositional/R/ridge.tune.R Compositional/R/helm.R Compositional/R/ridge.reg.R Compositional/R/kl.diri.R Compositional/R/alfa.ridge.R Compositional/R/alfa.pcr.R Compositional/R/pcr.tune.R Compositional/R/frechet.R Compositional/R/comp.kerncontour.R Compositional/R/glm.pcr.R Compositional/R/ddiri.R Compositional/R/mix.compnorm.R Compositional/R/ Compositional/R/alfadist.R Compositional/R/bivt.contour.R Compositional/R/ternary.R Compositional/R/mixnorm.contour.R Compositional/R/maov.R Compositional/R/comp.knn.R Compositional/R/rcompt.R Compositional/R/diri.contour.R Compositional/R/alfaridge.plot.R Compositional/R/rmixcomp.R Compositional/R/js.compreg.R Compositional/R/ridge.plot.R Compositional/R/hotel2T2.R Compositional/R/rdiri.R Compositional/R/rcompsn.R Compositional/R/maovjames.R Compositional/R/skewnorm.contour.R Compositional/R/alfa.tune.R Compositional/R/comp.den.R Compositional/R/alfa.rda.R Compositional/R/alfainv.R Compositional/R/spatmed.reg.R Compositional/R/compknn.tune.R Compositional/R/alfaridge.tune.R Compositional/R/alfareg.tune.R Compositional/R/comp.reg.R Compositional/R/eel.test1.R Compositional/R/norm.contour.R Compositional/R/alfa.knn.R Compositional/R/pcr.R Compositional/R/el.test2.R Compositional/R/dirimean.test.R Compositional/R/rda.R Compositional/R/diri.reg.R Compositional/R/alfa.R
Compositional/man/comp.reg.Rd Compositional/man/kl.diri.Rd Compositional/man/rda.Rd Compositional/man/ols.compreg.Rd Compositional/man/mkde.tune.Rd Compositional/man/alfa.pcr.Rd Compositional/man/pcr.tune.Rd Compositional/man/diri.reg.Rd Compositional/man/diri.contour.Rd Compositional/man/ridge.tune.Rd Compositional/man/eel.test1.Rd Compositional/man/sym.test.Rd Compositional/man/ternary.Rd Compositional/man/glm.pcr.Rd Compositional/man/rdiri.Rd Compositional/man/eel.test2.Rd Compositional/man/alfa.reg.Rd Compositional/man/rda.tune.Rd Compositional/man/spatmed.reg.Rd Compositional/man/alfa.ridge.Rd Compositional/man/rcompt.Rd Compositional/man/diri.est.Rd Compositional/man/glmpcr.tune.Rd Compositional/man/multivt.Rd Compositional/man/frechet.Rd Compositional/man/mix.compnorm.Rd Compositional/man/rmixcomp.Rd Compositional/man/sscov.Rd Compositional/man/maovjames.Rd Compositional/man/compknn.tune.Rd Compositional/man/pcr.Rd Compositional/man/mkde.Rd Compositional/man/rcompnorm.Rd Compositional/man/alfa.profile.Rd Compositional/man/alfa.Rd Compositional/man/comp.knn.Rd Compositional/man/ddiri.Rd Compositional/man/maov.Rd Compositional/man/alfaridge.tune.Rd Compositional/man/alfapcr.tune.Rd Compositional/man/Compositional-package.Rd Compositional/man/comp.den.Rd Compositional/man/ridge.plot.Rd Compositional/man/kl.compreg.Rd Compositional/man/alfa.tune.Rd Compositional/man/alfaridge.plot.Rd Compositional/man/ridge.reg.Rd Compositional/man/alfa.rda.Rd Compositional/man/helm.Rd Compositional/man/bivt.contour.Rd Compositional/man/comp.kerncontour.Rd Compositional/man/comp.test.Rd Compositional/man/skewnorm.contour.Rd Compositional/man/dirimean.test.Rd Compositional/man/alfainv.Rd Compositional/man/james.Rd Compositional/man/el.test2.Rd Compositional/man/multivreg.Rd Compositional/man/ Compositional/man/hotel1T2.Rd Compositional/man/bic.mixcompnorm.Rd Compositional/man/alfarda.tune.Rd Compositional/man/mixnorm.contour.Rd Compositional/man/rcompsn.Rd Compositional/man/alfareg.tune.Rd Compositional/man/hotel2T2.Rd Compositional/man/norm.contour.Rd Compositional/man/ Compositional/man/el.test1.Rd Compositional/man/alfadist.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.