R/mice.impute.lqs.R

Defines functions mice.impute.lqs

Documented in mice.impute.lqs

## File Name: mice.impute.lqs.R
## File Version: 0.05


mice.impute.lqs <- function(y, ry, x, wy=NULL, lm_args=NULL, trafo=NULL,
    antitrafo=NULL, ...)
{
    requireNamespace("MASS")
    lm_fun <- MASS::lqs
    #- do imputation
    imp <- mice_imputation_linear_model_main(x=x, y=y, ry=ry, wy=wy,
                lm_args=lm_args, lm_fun=lm_fun, trafo=trafo,
                antitrafo=antitrafo, ...)
    #-- output
    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 May 29, 2024, 11:05 a.m.