R/mice_imputation_args_include_wy.R

Defines functions mice_imputation_args_include_wy

## File Name: mice_imputation_args_include_wy.R
## File Version: 0.03

mice_imputation_args_include_wy <- function(imp_function, args, wy)
{
    args_imp_function <- methods::formalArgs(def=imp_function)
    if ("wy" %in% args_imp_function){
        args$wy <- wy
    }
    return(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.