init.allocate_regimes_from_shifts: Initialisation for the allocation of shifts.
Description
init.allocate_regimes_from_shifts
initialize the vector of regimes
at nodes and tips, with the regime (0) at the root.
Usage
init.allocate_regimes_from_shifts(phy, ...)
Value
Matrix of size (nNodes + ntaxa)x1 of NAs, with the 0 at the root.
Details
This function is used in function allocate_regimes_from_shifts
and is
designed to furnish function update.allocate_regimes_from_shifts
with
the right structure of data.