Learn R Programming

phytools (version 0.1-9)

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.

Usage

vcvPhylo(tree,anc.nodes=T)

Arguments

tree
object of class "phylo".
anc.nodes
logical value indicating whether or not to include ancestral nodes.

Value

  • matrix.