Learn R Programming

evolqg (version 0.3-4)

RiemannDist: Matrix Riemann distance

Description

Return distance between two covariance matrices

Usage

RiemannDist(cov.x, cov.y)

Value

Riemann distance between cov.x and cov.y

Arguments

cov.x

covariance or correlation matrix

cov.y

covariance or correlation matrix

Author

Edgar Zanella

References

Mitteroecker, P., & Bookstein, F. (2009). The ontogenetic trajectory of the phenotypic covariance matrix, with examples from craniofacial shape in rats and humans. Evolution, 63(3), 727-737. doi:10.1111/j.1558-5646.2008.00587.x