Description Usage Arguments Value
Samples a population of the desired size from the Wright-Fisher model.
1 | sample.pop(transitions, pi=NULL, pop.size, mu)
|
transitions |
Transition matrix between types |
pi |
Stationary distribution associated with the transition matrix, or
|
pop.size |
Desired population size |
mu |
Mutation rate |
A vector representing the sampled population.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.