pcc: Proportionality correlation coefficient matrix

View source: R/pcc.R

Proportionality correlation coefficient matrixR Documentation

Proportionality correlation coefficient matrix

Description

Proportionality correlation coefficient matrix.

Usage

pcc(x)

Arguments

x

A numerical matrix with the compositional data. Zeros are not allowed as the logarithm is applied.

Details

The function returns the proportionality correlation coefficient matrix. See Lovell et al. (2015) for more information.

Value

A matrix with the alr transformed data (if alr is used) or with the compositional data (if the alrinv is used).

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

Zheng, B. (2000). Summarizing the goodness of fit of generalized linear models for longitudinal data. Statistics in medicine, 19(10), 1265-1275.

Lovell D., Pawlowsky-Glahn V., Egozcue J. J., Marguerat S. and Bahler, J. (2015). Proportionality: a valid alternative to correlation for relative data. PLoS Computational Biology, 11(3), e1004075.

See Also

acor, alr

Examples

x <- Compositional::rdiri(100, runif(4) )
a <- Compositional::pcc(x)

Compositional documentation built on Oct. 9, 2024, 5:10 p.m.