sample.pop: Sample Populations from the Wright-Fisher Model
Description
Samples a population of the desired size from the Wright-Fisher
model.
Usage
sample.pop(transitions, pi=NULL, pop.size, mu)
Arguments
transitions
Transition matrix between types
pi
Stationary distribution associated with the transition matrix, or
NULL
to compute it
Value
A vector representing the sampled population.