[R] weighted quantiles

Norbert NEUWIRTH norbert.s.neuwirth at univie.ac.at
Wed Oct 22 13:28:00 CEST 2008

Dear Frank,

Thank you for your usefull package Hmisc! I use it in my microsimulation project every day. But now a problem arose ...

....Having updated to R 2.8.0 (under windows XP) your library "Hmisc" isn't installed any more. Trying to reinstal I recognized, that it isn't even in the package list. When trying to reinstal it via local zip-sources I get the error-message (wrong R version ... ).

Will the Hmisc-package be updated or are their functions now embedded within another package??



Am 07.10.2008, 21:13 Uhr, schrieb Frank E Harrell Jr <f.harrell at vanderbilt.edu>:

> sj wrote:
>> I have a set of values and their corresponding weights. I can use the
>> function weighted.mean to calculate the weighted mean, I would like to be
>> able to similarly calculate the weighted median and quantiles? Is there a
>> function in R that can do this?
>> thanks,
>> Spencer
> library(Hmisc)
> ?wtd.quantile
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Mag. Norbert Neuwirth

Österreichisches Institut für Familienforschung (ÖIF) - Universität Wien
Austrian Institute for Family Studies - University of Vienna


e-mail:    norbert.neuwirth at oif.ac.at
tel:          +43-1-4277-489-11
fax:         +43-1-4277-9-489
address:  A-1010 Wien, Grillparzerstraße 7/9

More information about the R-help mailing list