[R] how to calculate the quantile of the weighted data

Frank E Harrell Jr f.harrell at vanderbilt.edu
Sat Mar 11 00:07:12 CET 2006


Jing Yang wrote:
> Dear R-users,
> 
> Does anyone have an idea of how to calculate the quantile of the weighted data?
> Any suggestion will be appreciated!
> 
> Best,Jing

library(Hmisc)
?wtd.quantile

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                     Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list