powered by
Data for Example 9.5
Thermal
A data frame/tibble with 12 observations on the two variables
temperature (degrees Celcius)
heat loss (BTUs)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { model <- lm(loss ~ temp, data = Thermal) summary(model) plot(loss ~ temp, data = Thermal) abline(model, col = "red") rm(model) # }
Run the code above in your browser using DataLab