powered by
HWEsimdat(npop, q, f)
Weir, B.S. (1996). Genetic Data Analysis II. Sunderland MA: Sinauer.
counts <- HWEsimdat(100,q=c(0.1,0.8,.1),f=0.1)
Run the code above in your browser using DataLab