Description Usage Arguments Details Value Author(s)
Generate a realisation of the Moran population model
1 |
N |
constant population size |
N.gen |
number of generations (single reproductions) to simulate |
rescale |
return only every Nth generation? (for comparability with W-F model) |
The attribute 'history' contains an (N.gen-1)xN matrix , where the (i,j)th entry specifies the parent of individual j of generation i+1. For comparability to Wright-Fisher model, multiply N.gen by N: one generation in W-F model comprises N reproduction events. Note that when rescale=TRUE, the returned value of N.gen is the scaled number of generations, and is not equal to the inputted N.gen.
an object of class 'genealogy'
Suzie Brown
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.