Learn R Programming

Compositional (version 5.5)

Proportionality correlation coefficient matrix: 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.

Value

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

Details

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

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

Run this code
# NOT RUN {
x <- Compositional::rdiri(100, runif(4) )
a <- Compositional::pcc(x)
# }

Run the code above in your browser using DataLab