Learn R Programming

⚠️There's a newer version (5.5) of this package.Take me there.

Compositional (version 1.2)

Compositional Data Analysis

Description

A collection of functions for compositional data analysis.

Copy Link

Version

Install

install.packages('Compositional')

Monthly Downloads

1,059

Version

1.2

License

GPL (>= 2)

Maintainer

Michail Tsagris

Last Published

April 1st, 2016

Functions in Compositional (1.2)

comp.reg

Regression with compositional data
ridge.tune

Cross validation for the ridge regression
glm.pcr

Principal component generalised linear models
mix.compnorm

Gaussian mixture models for compositional data
ridge.reg

Ridge regression
alfa.profile

Estimation of the value of $\alpha$ via the alfa.profile log-likelihood
norm.contour

Contour plot of the normal distribution in $S^2$
rmvt

Multivariate t random values simulation
compknn.tune

Tuning of the he k-NN algorithm for compositional data
ternary

Ternary diagram
mkde

Multivariate kernel density estimation
multivreg

Multivariate linear regression
comp.knn

The k-NN algorithm for compositional data
bivt.contour

Contour plot of the t distribution in $S^2$
alfaridge.tune

Cross validation for the ridge regression with compositional data as predictor using the $\alpha$-transformation
Compositional-package

Compositional Data Analysis
alfa.ridge

Ridge regression with compositional data in the covariates side using the $\alpha$-transformation
glmpcr.tune

Tuning the principal components in the GLM
diri.nr

Fitting a Dirichlet distribution via Newton-Rapshon
ols.compreg

Non linear least squares regression
rda.tune

Tuning the parameters of the regularised discriminant analysis
alfa.pcr

Multivariate or univariate regression with compositional data in the covariates side using the $\alpha$-transformation
alfa.rda

Regularised discriminant analysis for compositional data using the $\alpha$-transformation
spatmed.reg

Spatial median regression
comp.kerncontour

Contour plot of the kernel density estimate in $S^2$
kl.diri

Kullback-Leibler divergence and Bhattacharyya distance between two Dirichlet distributions
diri.reg

Dirichlet regression
diri.est

Fiiting a Dirichlet distribution
rcompt

Multivariate t random values simulation on the simplex
rdiri

Dirichlet random values simulation
mkde.tune

Tuning of the bandwidth h of the kernel using the maximum likelihood cross validation
rda

Regularised discriminant analysis for Euclidean data
esov.compreg

ESOV regression
sym.test

Log-likelihood ratio test for a symmetric Dirichlet distribution
alfa.tune

Fast estimation of the value of $\alpha$
alfainv

The inverse of the $\alpha$-transformation
alfapcr.tune

Tuning the number of PCs in the PCR with compositional data using the $\alpha$-transformation
multivt

MLE for the multivarite t distribution
alfa.reg

Regression with compositional data using the $\alpha$-transformation
rmixcomp

Simulation of compositional data from Gaussian mixture models
pcr

Principal components regression
alfadist

The $\alpha$-distance
mixnorm.contour

Contour plot of a Gaussian mixture model in $S^2$
rcompnorm

Multivariate normal random values simulation on the simplex
sscov

Spatial sign covariance matrix
kl.compreg

Kullback-Leibler regression
alfaridge.plot

Ridge regression plot
bic.mixcompnorm

Mixture model selection via BIC
rmvnorm

Multivariate normal random values simulation
frechet

The Frechet mean
spat.med

Spatial median for Euclidean data
pcr.tune

Tuning of the principal components regression
diri.contour

Contour plot of a Dirichlet distribution in $S^2$
alfarda.tune

Cross validation for the regularised discriminant analysis with compositional data using the $\alpha$-transformation
ridge.plot

Ridge regression plot
comp.den

Estimating location and scatter parameters
alfa

The $\alpha$-transformation
skewnorm.contour

Contour plot of the skew skewnormal distribution in $S^2$
helm

The Helmert sub-matrix
alfareg.tune

Tuning the value of $\alpha$ in the $\alpha$-regression
rcompsn

Multivariate skew normal random values simulation on the simplex