init: Initialization

Description Usage Arguments Examples

View source: R/main.R

Description

Sets some values, which are needed for all other functions. Always run this function in the beginning before using any other function of the package!

Usage

1
init(N, X0, realizations, gens)

Arguments

N

Number of individuals in the population

X0

Number of occurrences for that allele you are looking at

realizations

Number of independent runs of the simulaion

gens

Number of generations which should be simulated

Examples

1
init(N = 50, X0 = 50, realizations = 50, gens = 400)

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