plotWFDrift {evolved} | R Documentation |
Plot WFDriftSim output
Description
Plot WFDriftSim output
Usage
plotWFDrift(p.through.time, plot.type = plot, knitr = FALSE)
Arguments
p.through.time |
Matrix with n.gen columns and n.sim lines |
plot.type |
String. Options are "static" or "animate" |
knitr |
Logical indicating if plot is intended to show up in RMarkdown files made by the |
Value
A static or animated plot of populations under genetic drift through time
Examples
store_p = WFDriftSim(Ne = 5, n.gen = 10, p0=.2, n.sim=5, plot = "none", print.data = TRUE)
plotWFDrift(store_p, "static")
[Package evolved version 1.0.0 Index]