prop_wald {miceafter} | R Documentation |
prop_wald
Calculates a single proportion and
related standard error according to Wald and
provides degrees of freedom to be used
in function with.miceafter
.
prop_wald(x, formula, data)
x |
name of variable to calculate proportion. |
formula |
A formula object to specify the model as normally used by glm. |
data |
An objects of class |
The proportion, standard error and complete data degrees of freedom (dfcom) as n-1.
Martijn Heymans, 2021
imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=prop_wald(Chronic ~ 1))