60 rats were fed varying diets to see which produced the greatest weight gain. Two diet factors were protein type: beef, pork, chicken and protein level: high and low.
data(rat)
A data frame with 60 observations on the following 3 variables, no NAs.
Weight.Gain
Weight gain (grams) of rats fed the diets.
Diet.Amount
Amount of protein in diet: 1 = High, 2 = Low.
Diet.Type
Type of protein in diet: 1 = Beef, 2 = Pork, 3 = Cereal.