Learn R Programming

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

Compositional (version 1.1)

Compositional Data Analysis

Description

A collection of R functions for compositional data analysis.

Copy Link

Version

Install

install.packages('Compositional')

Monthly Downloads

1,059

Version

1.1

License

GPL (>= 2)

Maintainer

Michail Tsagris

Last Published

February 16th, 2016

Functions in Compositional (1.1)

bivt.contour

Contour plot of the t distribution in $S^2$
mix.compnorm

Gaussian mixture models for compositional data
frechet

The Frechet mean
diri.nr

Fiiting a Dirichlet distribution via Newton-Rapshon
Compositional-package

This is an R package that provides methods for statistical analysis of compositional data
alfaridge.tune

Cross validation for the ridge regression with compositional data as predictor using the $\alpha$-transformation
glmpcr.tune

Tuning the principal components in the GLM
mkde

Multivariate kernel density estimation
alfadist

The $\alpha$-distance
pcr

Principal components regression
diri.est

Fiiting a Dirichlet distribution
alfaridge.plot

Ridge regression plot
alfa.ridge

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

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

Regression with compositional data
rcompnorm

Multivariate normal random values simulation on the simplex
alfareg.tune

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

Simulation of compositional data from Gaussian mixture models
alfa.pcr

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

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

Dirichlet regression
rmvt

Multivariate t random values simulation
pcr.tune

Tuning of the principal components regression
glm.pcr

Principal component generalised linear models
sym.test

Log-likelihood ratio test for a symmetric Dirichlet distribution
esov.compreg

ESOV regression
rmvnorm

Multivariate normal random values simulation
ridge.reg

Ridge regression
kl.compreg

Kullback-Leibler regression
spatmed.reg

Spatial median regression
fast.alfa

Fast estimation of the value of $\alpha$
spat.med

Spatial median
alfainv

The inverse of the $\alpha$-transformation
rdiri

Dirichlet random values simulation
rcompt

Multivariate t random values simulation on the simplex
rcompsn

Multivariate skew normal random values simulation on the simplex
mkde.tune_2

Tuning of the bandwidth h of the kernel using the maximum likelihood cross validation
bic.mixcompnorm

Mixture model selection via BIC
alfapcr.tune

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

Cross validation for the ridge regression
ternary

Ternary diagram
sscov

Spatial sign covariance matrix
alfa.reg

Regression with compositional data using the $\alpha$-transformation
norm.contour

Contour plot of the normal distribution in $S^2$
ols.compreg

Non linear least squares regression
multivreg

Multivariate linear regression
alfa

The $\alpha$-transformation
skewnorm.contour

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

MLE for the multivarite t distribution
comp.den

Estimating location and scatter parameters
mixnorm.contour

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

Ridge regression plot
alfa.profile

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

Contour plot of a Dirichlet distribution in $S^2$
helm

The Helmert sub-matrix