Displaying 1 result from an estimated 1 matches for "areapred".
Did you mean:
apeared
2005 Jul 11
2
CIs in predict?
...vals, or the standard errors.
Any suggestions would be welcome
Cheers
Guy
Using Version 2.1.0 (2005-04-18) on a PC
vol.mod3 <- lm(log.volume~log.area*lake,data=vol)
summary(vol.mod3)
plot(c(1.3,2.5),c(-0.7,0.45),type="n",xlab="Log area",ylab="Log volume")
areapred.a <- seq(min(vol$log.area[vol$lake=="a"]), max(vol$log.area[vol$lake=="a"]), length=100)
areapred.b <- seq(min(vol$log.area[vol$lake=="b"]), max(vol$log.area[vol$lake=="b"]), length=100)
preda <- predict(vol.mod3, data.frame(log.area=areapred.a,int...