[R] Re : Wrong Q3 + Mean.
Pascal Oettli
kridox at ymail.com
Wed May 16 10:44:06 CEST 2012
Hi,
Probably you could check this:
>?quantile
Particularly the 'type' option.
Best Regards,
Pascal
----- Mail original -----
De : Retep32 <retepdeluxe at web.de>
À : r-help at r-project.org
Cc :
Envoyé le : Mercredi 16 mai 2012 16h22
Objet : [R] Wrong Q3 + Mean.
Hi.
> a
[1] 13 13 14 14 15 15 16 20 21 26
> summary(a)
Min. 1st Qu. Median Mean 3rd Qu. Max.
13.0 14.0 15.0 16.7 19.0 26.0
> mean(a)
[1] 16.7
> quantile(a)
0% 25% 50% 75% 100%
13 14 15 19 26
Clearly, this is not right. My Instructor and I have no idea why the program
does that. I removed the program from the computer , installed it again and
it still shows the mistake. It is also strange, that I chose "english" as
installlanguage, but the program is in german (my OS is in german).
Pls help, because otherwise i cannot solve any problems with R.
Using Win7 and R version 2.15.0 (2012-03-30).
Retep
--
View this message in context: http://r.789695.n4.nabble.com/Wrong-Q3-Mean-tp4630223.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list