plot_outcome: Plot simulation outcome

View source: R/plot_outcome.R

plot_outcomeR Documentation

Plot simulation outcome

Description

Plots an overview of a simulation outcome in different ways depending on the option.

Usage

plot_outcome(root, which = "full", approx = NULL, ...)

Arguments

root

Path to the simulation folder

which

Which type of outcome to plot? Either of: "full", shows the trait density plots and all the locus-specific variables through the whole simulation; "simple", shows only trait density plots and average mutational effect through time; "burnin", same as "simple" but only during the burn-in period; "init", same as "simple" but during the first 1,000 generations; "custom", for custom arguments to be passed to plot_outcome_core through ...

approx

Path to pass to add_approx. Leave NULL for no overlay approximation plot.

...

Further arguments to be passed to plot_outcome_core

Details

See ?plot_outcome_core

Value

A patchwork

See Also

plot_outcome_core, plot_outcome_full, plot_outcome_simple, plot_outcome_burnin, plot_outcome_init

Examples


## Not run: 

root <- system.file("extdata", "sim-example", package = "speciomer")
plot_outcome(root)


## End(Not run)


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.