[R] Weighting and recodification
dwinsemius at comcast.net
Mon Dec 5 17:43:38 CET 2011
On Dec 5, 2011, at 10:19 AM, SilvaForever wrote:
> I have a question that is more statistical than r-specific
> I have to recode a variable into quartiles, and I have weighted
> To calculate the quartiles that will serve me to recode the
> variable, should
> I use the weight or not?
I would think that an affirmative answer should raise the follow-on
question of "how", and an R-specific answer would be `wtd.quantile`
in the Hmisc package.
David Winsemius, MD
West Hartford, CT
More information about the R-help