load.outer.tree | R Documentation |
'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.
load.outer.tree(model)
model: |
R6 object of class Model |
R6 object of class Run
attach.tree, sim.outer.tree
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.