powered by
Data for Exercise 2.98
Victoria
A data frame with 20 observations on the following 3 variables.
year
a numeric vector
level
sunspot
# NOT RUN { str(Victoria) attach(Victoria) plot(sunspot,level) model <- lm(level~sunspot) abline(model) cor(sunspot,level) model detach(Victoria) # }
Run the code above in your browser using DataLab