Re: [R] Hmisc errbar color

2011-02-10 Thread David Winsemius
On Feb 9, 2011, at 8:27 PM, Robert Baer wrote: Is there an easy way to make the error bars the same color as the points and lines they are plotted with. My example # fake data x=sample(1:10, 100, replace =T) y = rnorm(100) + runif(100) df=data.frame(x,y) # summarize data m = aggregate(df,lis

Re: [R] Hmisc errbar color

2011-02-10 Thread Peter Ehlers
On 2011-02-09 17:27, Robert Baer wrote: Is there an easy way to make the error bars the same color as the points and lines they are plotted with. My example # fake data x=sample(1:10, 100, replace =T) y = rnorm(100) + runif(100) df=data.frame(x,y) # summarize data m = aggregate(df,list(x),mean)

[R] Hmisc errbar color

2011-02-10 Thread Robert Baer
Is there an easy way to make the error bars the same color as the points and lines they are plotted with. My example # fake data x=sample(1:10, 100, replace =T) y = rnorm(100) + runif(100) df=data.frame(x,y) # summarize data m = aggregate(df,list(x),mean) se = aggregate(df,list(x),sd)/sqrt(10) li