[R] quantile() with weights

Christophe DECLERCQ c.declercq at orsnpdc.org
Mon Jun 12 10:38:23 CEST 2006


 > De : r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] De la part de Wouter
> Envoyé : vendredi 9 juin 2006 19:15
> 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.
> [...]
 
See 'wtd.quantile' in the 'Hmisc' package. 

Christophe
--
Christophe Declercq, MD
Observatoire régional de la santé Nord-Pas-de-Calais
235, avenue de la recherche
BP 86 F-59373 LOOS CEDEX
Phone +33 3 20 15 49 24
Fax + 33 3 20 15 10 46
E-mail c.declercq at orsnpdc.org



More information about the R-help mailing list