ranef.lmmelsm | R Documentation |
Ranef method for lmmelsm objects.
## S3 method for class 'lmmelsm' ranef(object, prob = 0.95, summarize = TRUE, ...)
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. |
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}.
List of ranef summaries (random_mu_intercept, random_logsd_intercept, random_mu_coef, and random_logsd_coef), or samples (if summarize = FALSE).
Stephen R. Martin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.