Displaying 1 result from an estimated 1 matches for "upper4".
Did you mean:
upper
2010 Jun 13
1
using latticeExtra plotting confidence intervals
...0,50,3)
sample3<-rnorm(100,20,2)
sample4<-rnorm(100,40,1)
mu1<-mean(sample1)
ci.upper1<-mu1+2*2
ci.lower1<-mu1-2*2
mu2<-mean(sample2)
ci.upper2<-mu2+2*3
ci.lower2<-mu2-2*3
mu3<-mean(sample3)
ci.upper3<-mu3+2*2
ci.lower3<-mu3-2*2
mu4<-mean(sample4)
ci.upper4<-mu4+2*1
ci.lower4<-mu4-2*1
categories<-c("A","B")
mu<-cbind(mu1,mu2,mu3,mu4)
ci.upper<-cbind(ci.upper1,ci.upper2,ci.upper3,ci.upper4)
ci.lower<-cbind(ci.lower1,ci.lower2,ci.lower3,ci.lower4)
segplot(mu~ci.upper+ci.lower|categories, centers = mu, horiz...