Description Usage Arguments Author(s) Examples
Create an animation that summarizes a simulation, using sim.summary.plot for every generation of the simulation.
1 | evolution.animation(df, outdir = tempfile(), tit = "Allele frequency and ancestral estimate evolution")
|
df |
Result of sim2df. |
outdir |
Subdirectory for plot files, to be created. |
tit |
Title for the animation. |
Toby Dylan Hocking <toby.hocking@etu.upmc.fr>
1 2 3 4 | library(nicholsonppp)
sim <- sim.drift.selection()
df <- sim2df(sim)
evolution.animation(df[df$generation%%10==1,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.