allocate_subset_node.simulate {PhylogeneticEM} | R Documentation |
allocate_subset_node.simulate
slice the data correctly and allocate the right part.
To be used in function UpdateDown.
allocate_subset_node.simulate(node, array, value)
node |
node on which to slice |
array |
structure to be sliced |
value |
value to be attributed to the slice |
array: array p x Nnode x 2 (BM), with slice corresponding to node filled with value