Consensus() calculates the consensus of a set of trees, using the
algorithm of Day1985TreeTools.
Usage
Consensus(trees, p = 1, check.labels = TRUE)
Value
Consensus() returns an object of class phylo, rooted as in the
first entry of trees.
Arguments
trees
List of trees, optionally of class multiPhylo.
p
Proportion of trees that must contain a split for it to be reported
in the consensus. p = 0.5 gives the majority-rule consensus; p = 1 (the
default) gives the strict consensus.
check.labels
Logical specifying whether to check that all trees have
identical labels. Defaults to TRUE, which is slower.