Model regimes (i.e. colors) associated with the branches in a tree

PCMTreeGetRegimesForEdges(tree)

Arguments

tree

a PCMTree or a phylo object.

Value

a vector with entries corresponding to the rows in tree$edge denoting the regime associated with each branch in the tree. The type of the vector element is defined by the type of tree$part.regime.