[R] add sd to a plot

karine heerah
2010-03-29T09:45:07Z

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]]