selection_drifts: Drift with many competitors, adjust selection for one lucky...

Description Usage Arguments Examples

Description

Change the selection coefficient, s, to adjust how many copies of that colour are left

Usage

1
2
selection_drifts(colours = 5, trials, size, rel.freq = NULL,
  s = 1.04)

Arguments

colours

number of different colours of balls

trials

the number of trials the game runs for

size

size of the initial population of balls

rel.freq

starting frequencies for the colours. If NULL, frequencies are drawn from the uniform distribution.

s

selection coefficient for the first colour

Examples

1
selection_drifts(colours = 10, trials = 1000, size = 1000)

Euphrasiologist/GOL documentation built on June 26, 2019, 10:58 a.m.