powered by
Data for Exercise 9.36 and Example 9.8
Randd
A data frame with 12 observations on the following 5 variables.
rd
a numeric vector
sales
SRES1
FITS1
RESI1
# NOT RUN { str(Randd) attach(Randd) plot(rd,sales) model <- lm(sales~rd) abline(model) summary(model) # plot(model) detach(Randd) remove(model) # }
Run the code above in your browser using DataLab