R/mice.impute.2l.binary.R

Defines functions mice.impute.2l.binary

Documented in mice.impute.2l.binary

## File Name: mice.impute.2l.binary.R
## File Version: 0.22


mice.impute.2l.binary <- function(y, ry, x, type, intercept=TRUE,
            groupcenter.slope=FALSE, draw.fixed=TRUE, random.effects.shrinkage=1E-6,
            glmer.warnings=TRUE, blme_use=FALSE, blme_args=NULL, ...)
{
    imp <- mice_imputation_2l_lmer(y=y, ry=ry, x=x, type=type,
                intercept=intercept, groupcenter.slope=groupcenter.slope,
                draw.fixed=draw.fixed, random.effects.shrinkage=random.effects.shrinkage,
                glmer.warnings=glmer.warnings, blme_use=blme_use, blme_args=blme_args,
                model="binary", ...)
    return(imp)
}

Try the miceadds package in your browser

Any scripts or data that you put into this service are public.

miceadds documentation built on Jan. 7, 2023, 1:09 a.m.