powered by
This is a subset of the allbacks data frame which gives measurements on the volume and weight of 8 paperback books.
allbacks
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
# NOT RUN { print("Outliers in Simple Regression - Example 5.2") paperback.lm <- lm(weight ~ volume, data=softbacks) summary(paperback.lm) plot(paperback.lm) # }
Run the code above in your browser using DataLab