Evolutionary modeling

How to code up your own Wright-Fisher model in R to explore genetic drift

Imagine an isolated population. How is genetic variation likely to change over time?