corCoDa: Correlations for compositional data

View source: R/corCoDa.R

corCoDaR Documentation

Correlations for compositional data

Description

This function computes correlation coefficients between compositional parts based on symmetric pivot coordinates.

Usage

corCoDa(x, ...)

Arguments

x

a matrix or data frame with compositional data

...

additional arguments for the function cor

Value

A compositional correlation matrix.

Author(s)

Petra Kynclova

References

Kynclova, P., Hron, K., Filzmoser, P. (2017) Correlation between compositional parts based on symmetric balances. Mathematical Geosciences, 49(6), 777-796.

Examples

data(expenditures)
corCoDa(expenditures)
x <- arcticLake 
corCoDa(x)


robCompositions documentation built on Aug. 25, 2023, 5:13 p.m.