R/mice_imputation_extract_parameters_bc.R

Defines functions mice_imputation_extract_parameters_bc

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


mice_imputation_extract_parameters_bc <- function(mod)
{
    cmod <- mod$coef
    sigma <- cmod["sigma"]
    lambda <- cmod["lambda"]
    names_beta <- setdiff( names(cmod), c("sigma","lambda"))
    beta <- cmod[ names_beta ]
    df <- mod$df
    parms <- list(beta=beta, sigma=sigma, lambda=lambda, df=df)
    return(parms)
}

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.