| latour | R Documentation |
The response variable is the quality of a vintage based on a scale of 1 to 5 over the years 1961 to 2004. The predictor is end of harvest, days between August 31st and the end of harvest for that year, and the factor of interest is whether or not it rained at harvest time.
data(latour)
A data frame with 44 rows and 4 columns.
yearYear of harvest
qualityRating on a scale of 1-5
end.of.harvestDays August 31 and the end of harvest
rainindicator variable for rain
Sheather, SJ (2009), A Modern Approach to Regression with R, New York: Springer.
data(latour)
plot(quality~end.of.harvest,pch='',data=latour)
points(quality~end.of.harvest,data=latour[latour$rain==0,],pch=3)
points(quality~end.of.harvest,data=latour[latour$rain==1,],pch=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.