Skip to contents

Returns a tibble (or data.frame) of either the fixed-effect coefficient table, the random-effects variance / covariance terms, or the ordinal threshold cutpoints. Mirrors the tidy.sdmTMB() API but augmented for the additional covstructs and the gllvmTMB-native ordinal_probit() family.

Usage

# S3 method for class 'gllvmTMB_multi'
tidy(
  x,
  effects = c("fixed", "ran_pars", "cutpoint"),
  conf.int = FALSE,
  conf.level = 0.95,
  ...
)

Arguments

x

A gllvmTMB_multi fit.

effects

One of "fixed" (default), "ran_pars", or "cutpoint". The "cutpoint" class returns the ordinal-probit cutpoints (one row per (trait, threshold) pair); it is empty for fits with no ordinal_probit() traits. (Earlier releases lumped the cutpoints into "ran_pars" as a categorisation hack — see NEWS.)

conf.int

Whether to add conf.low / conf.high columns.

conf.level

Confidence level for the CI.

...

Currently unused.

Value

A data.frame. effect = "fixed" rows include a link column reporting each trait's link function ("identity", "probit", "log", "logit", …). effect = "cutpoint" rows carry the ordinal-probit thresholds.