simulate: Simulate numbers on the tree

View source: R/simulator.R

simulateR Documentation

Simulate numbers on the tree

Description

This is for simulating numbers from studies. The tree can be converted afterwards with something like

Usage

simulate(tree, N, P)

Arguments

tree

input tree

N

integer inflow

P

list of data.frame/table row of parameters

Details

ToDataFrameTable(RStbtxo, "pathString", "N")

which is part of the data.tree library.

Value

by side-effect on tree as N

Author(s)

Pete Dodd


petedodd/HEdtree documentation built on Dec. 5, 2022, 6:22 a.m.