thomased/kokko_book — pull request #1 by Buzatto (2014-05-15 00:07:47+00:00)
Title: Update kokkobook.R

hey Tom, I generalized your function distr_shift, so that it can take any value (instead of only values between 13 and 17) and I also added an arrow to the plot (indicating the change in frequencies). I also wrote another function called pop_shift, which is the equivalent of distr_shift, but deals with the numbers of individuals, so you can see population growth at the same time! :)