coef.mcglm: Model Coefficients

View source: R/mc_S3_methods.R

coef.mcglmR Documentation

Model Coefficients

Description

Extract regression, dispersion and correlation parameter estimates from objects of class mcglm.

Usage

## S3 method for class '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 class mcglm.

std.error

Logical indicating whether standard errors should be returned alongside the parameter estimates. Default is FALSE.

response

Integer vector indicating for which response variables the coefficients should be returned. If NA, coefficients for all response variables are returned.

type

Character vector specifying which type of coefficients should be returned. Possible values are "beta", "tau", "power" and "correlation".

...

Additional arguments. Currently ignored and included for compatibility with the generic coef function.

Value

A data.frame with one row per parameter, containing:

  • Estimates: parameter estimates;

  • Std.error: standard errors (if requested);

  • Parameters: parameter names;

  • Type: parameter type;

  • Response: response variable index.

Author(s)

Wagner Hugo Bonat, wbonat@ufpr.br


mcglm documentation built on Jan. 9, 2026, 1:07 a.m.