Rdocumentation
powered by
Learn R Programming
PhylogeneticEM (version 1.0.0)
allocate_subset_node.simulate: Iteration allocation
Description
allocate_subset_node.simulate
slice the data correctly and allocate the right part. To be used in function UpdateDown.
Usage
allocate_subset_node.simulate(node, array, value)
Arguments
node:
node on which to slice
array:
structure to be sliced
value:
value to be attributed to the slice
Value
array: array p x nNodes x 2 (BM), with slice corresponding to node filled with value