R/mdmb_extract_coef.R

Defines functions mdmb_extract_coef

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

mdmb_extract_coef <- function(mod)
{
    if ('coef' %in% names(mod) ){
        c1 <- mod$coef
    } else {
        c1 <- mod$coefficients
    }
    return(c1)
}
alexanderrobitzsch/mdmb documentation built on July 18, 2024, 11:14 p.m.