Extract a pair association estimate
Usage
association(object, ...)
# S3 method for class 'drm_pair_association'
association(object, type = c("coefficient", "fitted"), ...)Arguments
- object
A
drm_pair_associationobject.- ...
Reserved for future extractor options.
- type
For a constant association, the default
"coefficient"returns the usual singleeta. For a covariate-varying beta association,"coefficient"returns the association-link coefficients and"fitted"returns the frozen-row latent-normal associations.
Value
For a constant association, a one-row data frame with the
latent-normal association and diagnostic status. For a beta association
formula, a coefficient table or a frozen-row eta table according to
type. The separate vcov() and confint() methods supply alpha-scale
uncertainty for admitted association routes whose fit-specific Godambe
covariance diagnostics pass; confint(object, type = "eta") supplies the
transformed interval for a constant association.