Learn R Programming

robCompositions (version 2.4.1)

corCoDa: Correlations for compositional data

Description

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

Usage

corCoDa(x, ...)

Value

A compositional correlation matrix.

Arguments

x

a matrix or data frame with compositional data

...

additional arguments for the function cor

Author

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

Run this code
data(expenditures)
corCoDa(expenditures)
x <- arcticLake 
corCoDa(x)

Run the code above in your browser using DataLab