Extract model coefficients for objects of mcglm class.

# S3 method for mcglm
coef(
  object,
  std.error = FALSE,
  response = c(NA, 1:length(object$beta_names)),
  type = c("beta", "tau", "power", "correlation"),
  ...
)

Arguments

object

an object of mcglm class.

std.error

logical. If TRUE returns the standard errors for the estimates. Default is FALSE.

response

a numeric vector specifyng for which response variable the coefficients should be returned.

type

a string vector (can be 1 element length) specifying which coefficients should be returned.
Options are "beta", "tau", "power", "tau" and "correlation".

...

additional arguments affecting the summary produced. Note that there is no extra options for mcglm object class.

Value

A data.frame with parameters names, estimates, response variable number and parameters type.