R/coef.R

if(!isGeneric("coef"))
  setGeneric(name = "coef", def = function(object, ...) standardGeneric("coef"))

## model coefficients for class glimQL (functions quasibin and quasipois)
setMethod(f = "coef", signature(object = "glimQL"), definition = function(object, ...) coef(object@fm))

## model coefficients for class glimML (functions betabin and betapois)
setMethod(f = "coef", signature = "glimML", function(object, ...) {
  object@fixed.param
  })

Try the aod package in your browser

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

aod documentation built on April 2, 2022, 9:05 a.m.