Session Ready
Exercise

Visualizing the fixed effects

It's time to visualize your model predictions!

Before you look at the random effect of site on the intercept, first visualize the fixed component of the mixed effect model, which is the overall linear relationship between abundance and humidity. Recall that this represents the population level model.

As seen in Chapters 1 and 2, the first step is to build a data frame containing values of humidity you want to generate predictions from.

Note that the orchids data set, nlme and ggplot2 libraries, and random_int_model model have been preloaded.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Use data.frame() to create a data frame containing 10 values of humidity between 40 and 75.