# A model with one locus of length 1005 bp
coal_model(5:7, 0) + locus_single(1005)
# A model with ten loci of average length 950bp
coal_model(15, 0) + locus_averaged(10, 950)
# or just
coal_model(15, 10, 950)
# A model with two loci. The first group consists of 10 loci with
# a length 560bp each, the second one of two loci with length 750bp and 560pb,
# respectively.
coal_model(20, 10, 560) +
locus_single(750) +
locus_single(430)
Run the code above in your browser using DataLab