R/fixef.mexhaz.R

Defines functions fixef.mexhaz fixef

Documented in fixef fixef.mexhaz

fixef <- function(x, ...) UseMethod("fixef")

fixef.mexhaz <- function(x, ...){

    if (is.na(x$random)){
        res <- x$coefficients[1:x$n.par]
    }
    else {
        res <- x$coefficients[1:(x$n.par-1)]
    }

    return(res)
}

Try the mexhaz package in your browser

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

mexhaz documentation built on Oct. 31, 2022, 5:08 p.m.