coef.lmmelsm: Extract group-specific coefficients.

Description Usage Arguments Details Value Author(s)

View source: R/ranef.R

Description

Coef method for lmmelsm objects.

Usage

1
2
## S3 method for class 'lmmelsm'
coef(object, prob = 0.95, summarize = TRUE, ...)

Arguments

object

lmmelsm object.

prob

Numeric (Default: .95). Amount of probability mass contained in the credible interval.

summarize

Logical (Default: TRUE). Whether to return posterior summaries (TRUE) or MCMC samples (FALSE).

...

Not used.

Details

Extracts all group-specific coefficients from lmmelsm object. Note that this is different from ranef. Whereas ranef extracts the zero-centered random effects, coef extracts the group-specific effects, defined as the sum of the fixed effect and random effect.

Value

List of summaries (if summarize is TRUE), or list of MCMC samples.

Author(s)

Stephen R Martin


LMMELSM documentation built on March 13, 2021, 5:06 p.m.