[R] Percentile rank for each element in list

Peng, C cpeng.usm at gmail.com
Tue Sep 7 18:55:59 CEST 2010


It seems to produce some strange values:

> xx=1:10
> which(xx==quantile(x,0.2,type=3))
[1] 5
> which(xx==quantile(x,0.5,type=3))
integer(0)

-- 
View this message in context: http://r.789695.n4.nabble.com/Percentile-rank-for-each-element-in-list-tp2529523p2530060.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list