Re: [R] adding error bars

2011-01-27 Thread kirtau
Have you tried using the arrows function with angle = 90? you will have to create a mean and standard error variable - - AK -- View this message in context: http://r.789695.n4.nabble.com/adding-error-bars-tp3238562p3242110.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] adding error bars

2011-01-27 Thread Jim Lemon
On 01/27/2011 05:04 AM, ogbos okike wrote: Dear all, I am trying to add error bars on a boxplot but have encountered an error as indicated below. Is there a package I need to install or a library I have to load before this goes please. Thanks for any idea. Ogbos x<-replicate(20,rnorm(50)) boxp

Re: [R] adding error bars

2011-01-26 Thread David Winsemius
Harrell's wiki/website has material on so-called "dynamite plots" http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/DynamitePlots Ben Bolker has a page on them as well: http://emdbolker.wikidot.com/blog:dynamite -- David. On Jan 26, 2011, at 1:26 PM, Joshua Wiley wrote: Hi, You wil

Re: [R] adding error bars

2011-01-26 Thread Joshua Wiley
Hi, You will find package "sos" has some handy functions for searching for functions/packages: ### install.packages("sos") require(sos) findFn("error.bars") ### Perhaps the "psych" package has the error.bars() function you are thinking of? As a si

[R] adding error bars

2011-01-26 Thread ogbos okike
Dear all, I am trying to add error bars on a boxplot but have encountered an error as indicated below. Is there a package I need to install or a library I have to load before this goes please. Thanks for any idea. Ogbos x<-replicate(20,rnorm(50)) boxplot(x,notch=TRUE,main="Notched boxplot with er

Re: [R] Adding error bars to xyplot()

2010-04-24 Thread Deepayan Sarkar
On Fri, Apr 23, 2010 at 12:56 PM, Jon Zadra wrote: > I took a look at xYplot() but it is beyond over-complex, at least for my > level, and the documentation isn't too clear. > > Is there a simple way to make functions like plotCI() and errbar() use the > lattice reference rather than base graphics

Re: [R] Adding error bars to xyplot()

2010-04-23 Thread David Winsemius
On Apr 23, 2010, at 3:56 PM, Jon Zadra wrote: I took a look at xYplot() but it is beyond over-complex, at least for my level, and the documentation isn't too clear. Is there a simple way to make functions like plotCI() and errbar() use the lattice reference rather than base graphics? Don

Re: [R] Adding error bars to xyplot()

2010-04-23 Thread Jon Zadra
I took a look at xYplot() but it is beyond over-complex, at least for my level, and the documentation isn't too clear. Is there a simple way to make functions like plotCI() and errbar() use the lattice reference rather than base graphics? It seems like creating a plot of two lines across thre

Re: [R] Adding error bars to xyplot()

2010-04-21 Thread David Winsemius
On Apr 21, 2010, at 6:24 PM, Jon Zadra wrote: Hi, I want to add error bars to a plot generated with xyplot. I've tried both errbar() and plotCI(), but in both cases the points are not in the same place. It's as if the two functions are using a different frame of reference for the plott

[R] Adding error bars to xyplot()

2010-04-21 Thread Jon Zadra
Hi, I want to add error bars to a plot generated with xyplot. I've tried both errbar() and plotCI(), but in both cases the points are not in the same place. It's as if the two functions are using a different frame of reference for the plotting area. for example: means <- c(92.5, 92.25, 90.