Learn R Programming

dalmatian (version 1.0.0)

coef.dalmatian: Coefficients function for dalmatian objects

Description

coef (dalmatian)

Usage

# S3 method for 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

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).

Details

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

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. 10.18637/jss.v100.i10.