evolution.animation: evolution animation

Description Usage Arguments Author(s) Examples

View source: R/plot.R

Description

Create an animation that summarizes a simulation, using sim.summary.plot for every generation of the simulation.

Usage

1
evolution.animation(df, outdir = tempfile(), tit = "Allele frequency and ancestral estimate evolution")

Arguments

df

Result of sim2df.

outdir

Subdirectory for plot files, to be created.

tit

Title for the animation.

Author(s)

Toby Dylan Hocking <toby.hocking@etu.upmc.fr>

Examples

1
2
3
4
library(nicholsonppp)
sim <- sim.drift.selection()
df <- sim2df(sim)
evolution.animation(df[df$generation%%10==1,])

nicholsonppp documentation built on May 21, 2017, 3:28 a.m.

Search within the nicholsonppp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.