allocate_subset_node.simulate: Iteration allocation

View source: R/simulate.R

allocate_subset_node.simulateR Documentation

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 Nnode x 2 (BM), with slice corresponding to node filled with value


pbastide/PhylogeneticEM documentation built on Feb. 12, 2024, 1:27 a.m.