Lifespan | R Documentation |
Data for Exercise 2.4, 2.37, and 2.49
Lifespan
A data frame/tibble with six observations two variables
temperature (in Celcius)
lifespan of component (in hours)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(life ~ heat, data = Lifespan)
model <- lm(life ~ heat, data = Lifespan)
abline(model, col = "red")
resid(model)
sum((resid(model))^2)
anova(model)
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.