Learn R Programming

JointAI (version 1.0.6)

parameters: 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

Run this code
# (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)

Run the code above in your browser using DataLab