Re: [R] quantile() with weights

From: Sundar Dorai-Raj <sundar.dorai-raj_at_pdf.com>
Date: Sat 10 Jun 2006 - 05:36:45 EST

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.

--sundar



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 10 05:49:51 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 11 Jun 2006 - 05:34:59 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.