[R] Error bars on barplots

Uli Flenker; Raum 704 uli at biochem.dshs-koeln.de
Wed Sep 8 15:54:01 CEST 1999


As I wrote before: This calculates appropriate x-values for grouped
barplots, "x" being the matrix of interest. Not elegant but it works.

cumsum(array(c(1,rep(0,dim(x)[1]-1)),
	dim=c(1,length(x))))+0:(length(x)-1)+.5


        Uli Flenker
        Institute of Biochemistry
        German Sports University Cologne
        Carl-Diem-Weg 6

        50933 Cologne / Germany

        Phone 0049/0221/4982-493


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list