Displaying 1 result from an estimated 1 matches for "dev1hr".
Did you mean:
dev1
2004 Sep 17
0
Ploting Mean and SE on regression lines
...on the regression equation
(instead of individual data points) in the following code, but I could not
find the right code in the help files. Could someone please show how to do
this.
Thank you very much.
temp <- c(16,16,16,16,16, 20,20,20,20,20, 24,24,24,24,24, 28,28,28,28,28,
32,32,32,32,32)
dev1hr <- c(36.2, 34, 32.2, 36.4, 36, 23.8, 24.4, 24, 23, 23.25, 17.5,
18.37, 20.25, 21, 19.47, 14.37, 15, 13.42, 12, 13.2, 8, 8, 7.15, 7, 8.25)
predict(lm(dev1hr ~ temp+I(temp^2)+I(temp^3)))
new <- data.frame(temp = seq(16, 32, 0.5))
predict(lm(dev1hr ~ temp+I(temp^2)), new, se.fit = TRU...