Session Ready
Exercise

Applying a GLM

Your new research question is:

"How does stream velocity influence the feeding behavior of dragonflies?"

Your response variable is feeding_events and your predictor is stream_flow. You'll apply a generalized linear model (GLM) to describe this relationship. In this instance, you'll be using the simplest form of a GLM, with 'family = "gaussian"'. This is equivalent to a normal linear model.

Note that the dragonflies data set has been preloaded.

Instructions
100 XP
  • Apply a GLM to describe the relationship between feeding_events and stream_flow, variables found in the dragonflies data set.