search for: tp3327701p3327714

Displaying 1 result from an estimated 1 matches for "tp3327701p3327714".

Did you mean: tp3327701p3327701
2011 Feb 28
3
Incorrectness of mean()
I have found following problem: I have a vector: > a <- c(1.04,1.04,1.05,1.04,1.04) I want a mean of this vector: > mean(a) [1] 1.042 which is correct, but: > mean(1.04,1.04,1.05,1.04,1.04) [1] 1.04 gives an incorrect value. how is this possible? thanks, zbynek -- View this message in context: http://r.789695.n4.nabble.com/Incorrectness-of-mean-tp3327701p3327701.html Sent from the R