Learn R Programming

PhylogeneticEM (version 1.8.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)

Value

array: array p x Nnode x 2 (BM), with slice corresponding to node filled with value

Arguments

node

node on which to slice

array

structure to be sliced

value

value to be attributed to the slice