Diagnostic Plots
Let's learn about the diagnostic plots in R.
We'll cover the following
Q-Q plot
Because lme4 is a relatively new package, not all of the same utility functions that we can use with other simpler models exist within it. For example, if we want to make the Q-Q plot, we have to either build it ourselves or use a separate function that has been written in another package. To build it ourselves, we use the following code:
Get hands-on with 1400+ tech skills courses.