[R] raking weighting
dwinsemius at comcast.net
Wed Nov 9 20:44:21 CET 2011
On Nov 9, 2011, at 2:27 PM, Sebastián Daza wrote:
> Hi everyone,
> Does anyone know if there is a package to compute raking weights using
> R? What I need is to create a variable with weights base in some
> demographic variables (e.g. sexo, age group, area) using the raking
There is a `rake` function in package "survey".
In the future you ought to do this at the R console _before_ sending a
question to R-help:
> Thank you in advance!
> Sebastián Daza
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help