Skip to content
Prev 350594 / 398502 Next

Plotting Confidence Intervals

Hi Andre,
Perhaps you want something like this:

plot(c(p_conf[1],p_conf1[1],p_pred2[1],p_pred3[1]),xaxt="n",
 xlab="Model",ylab="Estimate")
axis(1,at=1:4,labels=c("p_conf","p_conf1","p_pred2","p_pred3"))
library(plotrix)
dispersion(1:4,c(p_conf[1],p_conf1[1],p_pred2[1],p_pred3[1]),
 ulim=c(p_conf[3],p_conf1[3],p_pred2[3],p_pred3[3]),
 llim=c(p_conf[2],p_conf1[2],p_pred2[2],p_pred3[2]),interval=FALSE)

Jim


On Sun, May 3, 2015 at 12:16 AM, Andre Roldao
<andre.rafael.roldao at gmail.com> wrote: