coef.dalmatian: Coefficients function for 'dalmatian' objects

Description Usage Arguments Details Value Author(s) References

View source: R/post_processing.R

Description

coef (dalmatian)

Usage

1
2
## S3 method for class 'dalmatian'
coef(object, summary = NULL, ranef = NULL, ...)

Arguments

object

Object of class dalmatian created by dalmatian().

summary

Posterior summaries computed from the supplied dalmatian object (optional).

ranef

Random effects summary computed from the supplied dalmatian object (optional).

...

Ignored

Details

Extracts coefficients for the mean and dispersion components of a dalmatian model.

Value

List of three lists named mean, dispersion, and joint each containing the posterior means of the coefficients corresponding to the fixed and random terms of that model component (if present).

Author(s)

Simon Bonner

References

Bonner, S., Kim, H., Westneat, D., Mutzel, A., Wright, J., and Schofield, M.. (2021). dalmatian: A Package for Fitting Double Hierarchical Linear Models in R via JAGS and nimble. Journal of Statistical Software, 100, 10, 1–25. doi: 10.18637/jss.v100.i10.


dalmatian documentation built on Nov. 23, 2021, 1:08 a.m.