search for: bplot2

Displaying 1 result from an estimated 1 matches for "bplot2".

Did you mean: plot2
2009 Jul 29
1
Drawing lines in margins
...rs. The following reconstructs the idea - just copy and paste it in: aa <- 1:10 plot.mtx2<-cbind(aa,aa+1) colnames(plot.mtx2)<-c("Male","Female") lci2<- cbind(aa-1,aa) uci2<- cbind(aa+1,aa+2) par(mar=c(5,6,4,5)) cols <- c("grey79","grey41") bplot2<-barplot(t(plot.mtx2),beside=TRUE,xlab="Malaria death rates per 100,000", names.arg=paste("state",aa,sep=""),legend.text=F,las=1,xlim=c(0,13), horiz=T, col=cols, main="Malaria death rates by state and sex") legend(8,6,legend=c("Female","Male...