Tag Archives: r

Am I the last holdout against making (publication-quality) figures in R?

It’s been amazing, over the last decade, to watch the incoming tide of R swamp every other tool for statistical analysis (at least in my own field, ecology and evolution). I’ve mostly come to accept my new statistical overlord*.  But what I don’t understand is R graphics. Continue reading


Teaching population dynamics with simulations in R

Graphic: Results of a discrete-time simulation with two competitors having a shared predator. Exercise for the reader: which trace is the predator?

Warning: wonkish. Of interest primarily to those who teach upper-level ecology courses.

I don’t have an important message today, or a big unresolved question to talk about. I just thought I’d share some teaching resources. If you teach ecology (past the introductory level), you may find this useful.

One of the major themes in my 3rd-year population ecology course is the diversity of population dynamics that can emerge even in fairly simple systems: extinction, stable equilibrium, damped oscillations, stable limit cycles, neutral cycles, chaos, and so on. We spend a lot of time on the kinds of ecology that tend to favour oscillations (things like time lags and enemy-victim interactions) as opposed to those that tend to favour stable equilibria (things like immediate density-dependence and, under some circumstances, interspecific competition). Continue reading