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)
}

Try the mdmb package in your browser

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

mdmb documentation built on Sept. 11, 2024, 5:23 p.m.