update.allocate_regimes_from_shifts {PhylogeneticEM} | R Documentation |
update.allocate_regimes_from_shifts
computes the regime of a daughter
node, knowing the regime at the parent node and the vector of shifts positions
update.allocate_regimes_from_shifts(edgeNbr, ancestral, shifts_edges, ...)
edgeNbr |
: Number of the edge considered |
ancestral |
: regime of the parent node |
shifts_edges |
positions on edges |
This function is used in function allocate_regimes_from_shifts
and is
designed to furnish function recursionDown
with the right structure of
data.
regime of the daughter node.