Re: [R] Quantiles on multiply imputed survey data - mitools

2016-05-11 Thread Anne Bichteler
ntiles = c(.5))) summary(M_quantile) Thanks again, Brennan www.toxstrategies.com <http://www.toxstrategies.com> From: Anthony Damico <ajdam...@gmail.com> Date: Tuesday, May 10, 2016 at 10:37 PM To: Anne Bichteler <abichte...@toxstrategies.com> Cc: "r

Re: [R] Quantiles on multiply imputed survey data - mitools

2016-05-11 Thread Anthony Damico
- with(des_mult, svymean(make.formula(get('var_name' > summary(M_mean) > M_quantile <- with(des_mult, svyquantile(make.formula(get('var_name')), > quantiles = c(.5))) > summary(M_quantile) > > > Thanks again, > > Brennan > > www.toxstrategies.com > > > From:

Re: [R] Quantiles on multiply imputed survey data - mitools

2016-05-11 Thread Anne Bichteler
trategies.com> Cc: "r-help@r-project.org" <r-help@r-project.org> Subject: Re: [R] Quantiles on multiply imputed survey data - mitools is the `with` not passing make.formula( get( 'var_name' ) ) through to svyquantile for some reason? does this work? MIcombine( with(des, s

Re: [R] Quantiles on multiply imputed survey data - mitools

2016-05-10 Thread Anthony Damico
is the `with` not passing make.formula( get( 'var_name' ) ) through to svyquantile for some reason? does this work? MIcombine( with(des, svyquantile(~LBXTCD, .5))) if that's not it, could you make a minimal reproducible example that includes the data download? code to download and import

[R] Quantiles on multiply imputed survey data - mitools

2016-05-10 Thread Anne Bichteler
Hello, and thank you for considering this question: The svystat object created with multiply imputed NHANES data files is failing on calling survey::svyquantile. I'm wondering if I'm diagnosing the issue correctly, whether the behavior is expected, and whether y'all might have any ideas for