powered by
reg.ci(model, conf.level = 0.95, type = c("mean", "ind"), ...)
"mean"
"ind"
lines()
lm
x<-1:50 y<-1:50+rnorm(50,0,4) regression<-lm(y~x) plot(x,y) abline(regression) reg.ci(regression,type="mean",col="red") reg.ci(regression,type="ind",col="blue")
Run the code above in your browser using DataLab