R/mice_multilevel_imputation_blme_args.R

Defines functions mice_multilevel_imputation_blme_args

## File Name: mice_multilevel_imputation_blme_args.R
## File Version: 0.04

mice_multilevel_imputation_blme_args <- function(lmer_args, blme_args){
    if ( ! is.null( blme_args) ){
        NL <- length(blme_args)
        for (nn in 1:NL){
            name_nn <- names(blme_args)[nn]
            lmer_args[[ name_nn ]] <- blme_args[[ nn ]]
        }
    }
    return(lmer_args)
}

Try the miceadds package in your browser

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

miceadds documentation built on May 29, 2024, 11:05 a.m.