RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
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
Copy
Link to current version
Version
Version
5.5
5.4
5.3
5.2
5.0
4.9
4.8
4.7
4.6
4.5
4.4
4.3
4.2
4.1
3.9
3.8
3.7
3.6
3.5
3.4
3.3
3.2
3.1
3.0
2.9
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.0
1.8
1.6
1.5
1.4
1.2
1.1
1.0
Down Chevron
Install
install.packages('Compositional')
Monthly Downloads
1,448
Version
1.2
License
GPL (>= 2)
Maintainer
Michail Tsagris
Last Published
April 1st, 2016
Functions in Compositional (1.2)
Search functions
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