parameters: Parameter names of an JointAI object

View source: R/parameters.R

parametersR Documentation

Parameter names of an JointAI object

Description

Returns the names of the parameters/nodes of an object of class 'JointAI' for which a monitor is set.

Usage

parameters(object, expand_ranef = FALSE, mess = TRUE, warn = TRUE, ...)

Arguments

object

object inheriting from class 'JointAI'

expand_ranef

logical; should all elements of the random effects vectors/matrices be shown separately?

mess

logical; should messages be given? Default is TRUE.

warn

logical; should warnings be given? Default is TRUE.

...

currently not used

Examples

# (This function does not need MCMC samples to work, so we will set
# n.adapt = 0 and n.iter = 0 to reduce computational time)
mod1 <- lm_imp(y ~ C1 + C2 + M2 + O2 + B2, data = wideDF, n.adapt = 0,
               n.iter = 0, mess = FALSE)

parameters(mod1)


JointAI documentation built on April 27, 2023, 5:15 p.m.