Learn R Programming

phytools (version 1.0-3)

vcvPhylo: Calculates cophenetic (i.e., phylogenetic VCV) matrix

Description

This function returns a so-called phylogenetic variance covariance matrix (e.g., see vcv.phylo), but (optionally) including ancestral nodes and under different evolutionary models.

Usage

vcvPhylo(tree, anc.nodes=TRUE, ...)

Value

A matrix.

Arguments

tree

object of class "phylo".

anc.nodes

logical value indicating whether or not to include ancestral nodes.

...

optional arguments including internal (synonym of anc.nodes) and model (can be "BM", "OU", or "lambda".

Author

Liam Revell liam.revell@umb.edu

References

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