PCMTreeVCV: Phylogenetic Variance-covariance matrix

View source: R/PCMTree.R

PCMTreeVCVR Documentation

Phylogenetic Variance-covariance matrix

Description

This is a simplified wrapper for ape's vcv function. Setting the runtime option PCMBase.UsePCMVarForVCV to TRUE will switch to a computation of the matrix using the function PCMVar.

Usage

PCMTreeVCV(tree)

Arguments

tree

a phylo object

Value

a N x N matrix. Assuming a BM model of evolution, this is a matrix in which element (i,j) is equal to the shared root-distance of the nodes i and j.

See Also

vcv PCMVar PCMOptions


PCMBase documentation built on Nov. 18, 2022, 9:06 a.m.