Hi, I would like to add sd bar to an existing plot. How can i do that? For example: library("MASS") x <- rnorm(100) mean <- mean(x) sd <- sd(x) plot(mean) ## How can i add the sd bar around the mean point? thanks a lot Karine HEERAH Master 2 , océanographie et environnements marins Université Pierre et Marie Curie (Paris 6) 42 rue Salvador Allende 92000 Nanterre 06.61.50.97.47 _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
On 03/29/2010 08:45 PM, karine heerah wrote:> > Hi, > > > > I would like to add sd bar to an existing plot. How can i do that? >Hi Karine, bar.err (agricolae) plotCI (gplots) xYplot (Hmisc) error.bars (psych) dispersion (plotrix) plotCI (plotrix) and probably a few more. Jim