[R] CI with sd

Ethan Johnsons ethan.johnsons at gmail.com
Thu Oct 19 18:01:42 CEST 2006


Please let me ask you another quick question.
I have results for e coli, and am trying to get 95% CI with the sd (1.783956).
I got the result from another tool as (1.21, 3.42).
But, I like to verify it with R.  What function do you use for this?

> e.coli=c(27.5,24.6,25.3,28.7,23,26.8,24.7,24.3,24.9)
> sd(e.coli, na.rm = FALSE)
[1] 1.783956

Sorry for the newbie question.

thx much

ej



More information about the R-help mailing list