mbest (version 0.6)

model.matrix.mhglm: Terms and Model Matrix

Description

Get the terms or model matrix from an mhglm object.

Usage

# S3 method for mhglm
model.matrix(object, type = c("fixed", "random"), ...)
  # S3 method for mhglm_ml
model.matrix(object, type = c("fixed", "random"), ...)

# S3 method for mhglm terms(x, type = c("fixed", "random"), ...) # S3 method for mhglm_ml terms(x, type = c("fixed", "random"), ...)

Arguments

object, x

an mhglm object.

type

which terms to get (for the fixed or for the random effects).

further arguments passed to or from other methods.

See Also

model.matrix, terms