Learn R Programming

jaatha (version 2.7.0)

dm.addSampleSize: Sets how many individuals from each population are sampled at time 0.

Description

Sets how many individuals from each population are sampled at time 0.

Usage

dm.addSampleSize(dm, sample.size, group = 0)

Arguments

dm
The demographic model to which recombination events should be added.
sample.size
A vector with sample sizes for each population.
group
The group of loci with this sample size.

Value

  • The demographic model with the sample