Get the tips belonging to a regime tree

PCMTreeGetTipsInRegime(tree, regime)

Arguments

tree

a phylo object with an edge.regime member

regime

a character or integer belonging to tree$edge.regime

Value

an integer vector with the ids of the tips belonging to regime