ranef.dalmatian: Random Effects (dalmatian)

Description Usage Arguments Value References

View source: R/post_processing.R

Description

Compute posterior summary statistics for the individual random effects in each part of the model.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'dalmatian'
ranef(
  object,
  nstart = start(object$coda),
  nend = end(object$coda),
  nthin = thin(object$coda),
  ...
)

Arguments

object

Object of class dalmatian created by dalmatian().

nstart

Start point for computing summary statistics (relative to true start of chain).

nend

End point for computing summary statistics (relative to true start of chain).

nthin

Thinning factor for computing summary statistics (relative to full chain and not previously thinned output).

...

Ignored

Value

List containing elements mean, dispersion, and/or joint as appropriate. Each element provides information on the predicted values of the random effects as appropriate for each component of the 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. doi: 10.18637/jss.v100.i10.


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