Learn R Programming

phytools (version 0.4-45)

phyl.vcv: Compute evolutionary VCV matrix for a tree & dataset

Description

Primarily an internal function for phyl.pca; this can be used to compute the phylogenetic trait variance-covariance matrix given a phylogenetic VCV, lambda, and a data matrix.

Usage

phyl.vcv(X, C, lambda)

Arguments

lambda
value for $\lambda$ transformation.
X
data matrix.
C
matrix containing the height above the root of each pair of species in the tree. Typically this will have been produced by calling vcv.phylo.

Value

  • A matrix.

Details

Do not use unless you know what you're doing.

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.