The dataset milk.dat consists of weekly measurements of the protein content of milk samples from each of 79 cows randomly allocated to three different diets: barley, a barley and lupins mixture, and barley alone. The goal is to determine whether (and if so, how) diet affects milk protein. Measurements were taken in the weeks following calving for each cow, but as the experiment terminated at a fixed date not all cows had the same number of measurements taken.