Learn R Programming

phytools (version 0.2-40)

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=TRUE)

Arguments

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

Value

  • matrix.