Re: [R] Bar Plots: Error Bars

2009-12-03 Thread Jeremy Baxter
t;Average", names = c("1","2","3","4","5"), ylim=c(0,12), axis.lty=1) > > box() > > > max <- apply (marks, 2, max) > > min <- apply (marks, 2, min) > > arrows(1:5, min, 1:5, max, code=3, angle=90, length=0.125) >

Re: [R] How to write a Greek letter in a graph?

2008-01-19 Thread Jeremy Baxter
my code: > > xyplot(power1+power2 ~ pi0, data=resultb, ylab="Average > Power", type="l", pch=LETTERS[1:2], lty=c(1:2), main="(a)") > > The name of the X-axis will be “pi0” in the graph. > > > What should I do if I want the name of the X-axis i

Re: [R] Select a group of data from a file

2008-01-18 Thread Jeremy Baxter
, three quantitative and three > qualitative, I would like to select a group of data from the file to > analyze then, i.e: my file is like that (but with 6 variables): > > Var1 Var2 > 2 1 > 5 1 > 8 1 > 7 2 > 3 2 > 8 2 > > I