Teaching

Nutrient Cycling?

I set up 4 10 gallon aquaria in the teaching lab this semester. The goal was to observe the nitrogen cycle as the tanks settled in. I also needed an excuse to try out the new Hach environmental water testing kit that we ordered. The data are on figshare.

Simple image of bubbles

A colleague wrote: Hi Drew, I’m trying to make a really simple (I think) plot in R, but am not sure how to do it. I want to make the attached, where the size of each “bubble” in each grid location depends on a single raw data point (% cover of a type of grass). Can you point me in the right direction? This is the goal.

I don’t understand my students

Really. I have no concept of what my students’ lives are like, and this is something I have to constantly remind myself. I cannot make assumptions about their situations based on my own experience.

Getting pedantic: should I always name arguments in function calls?

I’ve been teaching students ggplot2 for graphics exclusively for a year or more now. One issue that seems to throw students is the specification of different data sets for some layers. Part of the confusion seems to arise from reversing the order of arguments between ggplot() and geom_*(). I’m trying to combat this by always naming my arguments. Is this a good idea?