Learn R Programming

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

Compositional (version 1.0)

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.0

License

GPL (>= 2)

Maintainer

Michail Tsagris

Last Published

February 9th, 2016

Functions in Compositional (1.0)

diri.nr

Fiiting a Dirichlet distribution via Newton-Rapshon
alfadist

The $\alpha$-distance
comp.den

Estimating location and scatter parameters
kl.diri

Kullback-Leibler divergence and Bhattacharyya distance between two Dirichlet distributions
mkde

Multivariate kernel density estimation
spatmed.reg

Spatial median regression
alfapcr.tune

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

ESOV regression
skewnorm.contour

Contour plot of the skew skewnormal distribution in $S^2$
sym.test

Log-likelihood ratio test for a symmetric Dirichlet distribution
alfa

The $\alpha$-transformation
glmpcr.tune

Tuning the principal components in the GLM
pcr.tune

Tuning of the principal components regression
rdiri

Dirichlet random values simulation
diri.contour

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

Multivariate t random values simulation
alfa.pcr

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

Fast estimation of the value of $\alpha$
bic.mixcompnorm

Mixture model selection via BIC
ols.compreg

Kullback-Leibler regression
Compositional-package

This is an R package that provides methods for statistical analysis of compositional data
multivreg

Multivariate linear regression
rcompnorm

Multivariate normal random values simulation on the simplex
comp.kerncontour

Contour plot of the kernel density estimate in $S^2$
mixnorm.contour

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

Multivariate normal random values simulation
rcompt

Multivariate t random values simulation on the simplex
alfa.profile

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

Dirichlet regression
alfareg.tune

Tuning the value of $\alpha$ in the $\alpha$-regression
mkde.tune_2

Tuning of the bandwidth h of the kernel using the maximum likelihood cross validation
spat.med

Spatial median
pcr

Principal components regression
helm

The Helmert sub-matrix
kl.compreg

Kullback-Leibler regression
rcompsn

Multivariate skew normal random values simulation on the simplex
rmixcomp

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

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

Gaussian mixture models for compositional data
alfainv

The inverse of the $\alpha$-transformation
norm.contour

Contour plot of the normal distribution in $S^2$
glm.pcr

Principal component generalised linear models
frechet

The Frechet mean
comp.reg

Regression with compositional data
ternary

Ternary diagram
alfa.reg

Regression with compositional data using the $\alpha$-transformation
diri.est

Fiiting a Dirichlet distribution
sscov

Spatial sign covariance matrix
multivt

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