R/mdmb_extract_coef.R

Defines functions mdmb_extract_coef

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

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 March 7, 2023, 6:58 p.m.