p5.11 | R Documentation |
The p5.11
data frame has 8 observations on an
experiment with a catapult. This data set is used in Exercise 5.13
of the 6th edition of MPV.
data(p5.11)
This data frame contains the following columns:
hook
arm length
start angle
stop angle
response 1
response 2
response 3
Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.
p5.13
attach(p5.11)
ybar.i <- apply(p5.11[,5:7], 1, mean)
sd.i <- apply(p5.11[,5:7], 1, sd)
y.lm <- lm(ybar.i ~ x1 + x2 + x3 + x4)
plot(y.lm, which=1)
detach(p5.11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.