est_tot_from_des_joint | R Documentation |
helper function to estimate joint totals from survey design object
est_tot_from_des_joint(form_additive, design_refer)
form_additive |
a formula with only right hand side additive terms representing joint totals |
design_refer |
a survey.design object that contains the survey data used to estimate the joint total(s) |
result is 'tidy' data frame, row is unique strata combo
dstrat <- svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc) est_tot_from_des_joint(~sch.wide+bothdesign_refer=dstrat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.