new_pop: Sets up a base population for selection

Description Usage Arguments Value

Description

The first step in the simulation.

Usage

1
new_pop(nn, hh)

Arguments

nn

Size of base, an even integer

hh

Heritability of the simulated trait

Value

A data frame of 9 labelled columns of integers and doubles. Errors are printed if the size of the base is not an even integer, and the heritability is out of bounds.


jwoollia/DenHaag documentation built on May 20, 2019, 6:27 a.m.