Learn R Programming

jaatha (version 2.7.0)

dm.createThetaTauModel: Creates a standard "Theta/Tau" demopraphic model.

Description

Creates a standard "Theta/Tau" demopraphic model.

Usage

dm.createThetaTauModel(sample.sizes, loci.num, seq.length = 1000)

Arguments

sample.sizes
A numeric vector with the sample sizes of the two pop.sources.
loci.num
The number of Loci to simulate.
seq.length
For recombination, each locus is assumed to be of this length

Value

  • A Theta/Tau Model

Examples

Run this code
dm <- dm.createThetaTauModel(c(20,25), 100)
dm

Run the code above in your browser using DataLab