graphic_individuals: Graphic realizations

Description Usage Arguments Value Examples

View source: R/main.R

Description

Creates a graphic that shows the evolution of the simulated populations. The mean of the number of alleles is added.

Usage

1
graphic_individuals(pop, limit = -1)

Arguments

pop

Data from the function simulation()

limit

The number of realizations that is included in the graphic as a maximum. The mean is always built over all realizations. Default: -1, no limit.

Value

The described graphic

Examples

1
2
p <- simulation()
h <- graphic_individuals(pop = p)

johschnee/WrightFisherSimulation documentation built on Dec. 21, 2021, 2:15 a.m.