Getting ready

We will use the ggplot2, nlme, and lsmeans packages in this recipe. These can be installed via the usual install.packages() command.

Get R Statistics Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.