phyl.pca
; this can be used to compute the phylogenetic trait variance-covariance matrix given a phylogenetic VCV, lambda, and a data matrix. Should not be confused with vcv.phylo
in the "ape" package (although one of the objects returned is the output of vcv.phylo
).
phyl.vcv(X, C, lambda)
vcv.phylo
.C
, the matrix vcv.phylo
transformed by lambda
; R
, the among trait variance-covariance matrix for the data in X
; and alpha
, a vector of ancestral states at the root node of the tree.