latour: Chateau Latour Wine Data

Description Usage Format References Examples

Description

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.

Usage

1

Format

A data frame with 44 rows and 4 columns.

year

Year of harvest

quality

Rating on a scale of 1-5

end.of.harvest

Days August 31 and the end of harvest

rain

indicator variable for rain

References

Sheather, SJ (2009), A Modern Approach to Regression with R, New York: Springer.

Examples

1
2
3
4
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)

Example output

Loading required package: Rfit

npsm documentation built on May 29, 2017, 12:12 p.m.