ranef.lmmelsm: Extract random effects.

Description Usage Arguments Details Value Author(s)

View source: R/ranef.R

Description

Ranef method for lmmelsm objects.

Usage

1
2
## S3 method for class 'lmmelsm'
ranef(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 the random effects from the lmmelsm object. Note that this is different from the random coefficients. E.g., if β_{0i} = β_0 + u_{0i}, then coef extracts β_{0i} and ranef extracts u_{0i}.

Value

List of ranef summaries (random_mu_intercept, random_logsd_intercept, random_mu_coef, and random_logsd_coef), or samples (if summarize = FALSE).

Author(s)

Stephen R. Martin


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