load.outer.tree: load.outer.tree

View source: R/simOuterTree.R

load.outer.treeR Documentation

load.outer.tree

Description

'load.outer.tree“ initializes a Run object from a Model object in which the user has explicitly listed transmission events; *i.e.*, bypassing simulation of the outer tree.

Usage

load.outer.tree(model)

Arguments

model:

R6 object of class Model

Value

R6 object of class Run

See Also

attach.tree, sim.outer.tree

Examples

# load model
path <- system.file('extdata', 'chain.yaml', package='twt')
settings <- yaml.load_file(path)
mod <- Model$new(settings)

run <- load.outer.tree(mod)
plot(run)


PoonLab/twt documentation built on Nov. 7, 2024, 4:18 a.m.