June 2012 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Daily Archives: 27.06.12
R – barplot with error-bars
I have not found any simple way to make a barplot with error-bars in R, so I had to write a script for it: errorbarplot< -function(data,error,ylab,xlab,main){ palette(c('gray75','grey50','grey25','white')) mar=par()$mar par(xpd=T, mar=par()$mar+c(0,0,0,8)) # Makes a bit space to place the legend maxy=max(data+error)*1.05 … Continue reading
Posted in R
Comments Off on R – barplot with error-bars
You must be logged in to post a comment.