powered by
Data for Exercise 9.21
Nicotine
A data frame with 8 observations on the following 2 variables.
nicotine
a numeric vector
sales
# NOT RUN { str(Nicotine) attach(Nicotine) model <- lm(sales~nicotine) summary(model) detach(Nicotine) remove(model) # }
Run the code above in your browser using DataLab