View source: R/plot_eco_trait_zoomed.R
plot_eco_trait_zoomed | R Documentation |
Plots three portions of the ecological trait density plot: over the full simulation time span, at the very start and around branching time.
plot_eco_trait_zoomed(root, root_init, add_rect = FALSE)
root |
Path to the simulation folder |
root_init |
Path to the initialization simulation folder, i.e. a
simulation that is the equivalent of |
add_rect |
Whether to add a shading rectangle on the left facet to indicate what part of the plot is zoomed in, in the right facet. |
Because the burn-in in root_init
is not as long as in
root
, the starting time is modify so the two simulations match
each other (the two simulations should be identical because they are
simulated with the same seed).
A ggplot
read_individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.