[R] quantile() with weights

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Fri Jun 9 21:36:45 CEST 2006

Wouter wrote:
> Hi list,
> I'm looking for a way to calculate quantiles (such as in quantile()), but 
> with the ability to assign a different weight to each member of the sample 
> vector.
> It is possible to write it out completely, but maybe there is a dedicated 
> function out somewhere...
> cheers
> Wouter

See ?wtd.quantile in package Hmisc.


More information about the R-help mailing list