plot_timestep: Combined plot of mean fitness and allele frequencies for each...

Description Usage Arguments Value Examples

Description

Combined plot of mean fitness and allele frequencies for each deme

Usage

1
plot_timestep(res, gen = 1, message = T)

Arguments

res

A dataset produced by load_h5.

gen

The generation at which you whish to plot (default 1).

message

Option to remove the message indicating the closest real generation available that has been plotted (default TRUE).

Value

A plot generated by gridExtra::grid.arrange

Examples

1
2
3
data(result_sim)
plot_timestep(result_sim, 11)
plot_timestep(result_sim, 10) # produces the same plot

alxsimon/rfss documentation built on May 10, 2019, 1:15 p.m.