softbacks | R Documentation |
This is a subset of the allbacks
data frame
which gives measurements
on the volume and weight of 8 paperback books.
softbacks
This data frame contains the following columns:
a numeric vector giving the book volumes in cubic centimeters
a numeric vector giving the weights in grams
The bookshelf of J. H. Maindonald.
print("Outliers in Simple Regression - Example 5.2")
paperback.lm <- lm(weight ~ volume, data=softbacks)
summary(paperback.lm)
plot(paperback.lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.