[R] Re : Doing Mathematica Quantile function in R
kridox at ymail.com
Thu Mar 8 07:20:57 CET 2012
Perhaps quantile in "stats" package...
Type ?quantile, you will get a lot of informations.
----- Mail original -----
De : Vihan Pandey <vihanpandey at gmail.com>
À : r-help at r-project.org
Envoyé le : Jeudi 8 mars 2012 15h08
Objet : [R] Doing Mathematica Quantile function in R
I am an R newbie trying to do some calculations I do in Mathematica in
R on a GNU/Linux system.
The main thing I am interested in doing is taking a 0.999 quantile on
a data set in a file who's data is normally distributed, say foo.csv.
e.g in Mathematica if I have something like this :
In R I can load all the data into b with :
scan("foo.csv") -> b
now, I can't find a function anywhere which would calculate the
Quantile on the dataset in b.
Also, I am guessing Mathematica does a lot of special things to ensure
a very accurate Quantile value, so if anyone has any ideas on
incorporating those as well, it would be great.
Thanks and Regards,
R-help at r-project.org mailing list
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