Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rd_vcov

Extract the random effects variance covariance matrix Returns the posterior mean of the variance-covariance matrix/matrices of the random effects in a fitted JointAI object.


Description

Extract the random effects variance covariance matrix Returns the posterior mean of the variance-covariance matrix/matrices of the random effects in a fitted JointAI object.

Usage

rd_vcov(object, outcome = NULL, start = NULL, end = NULL, thin = NULL,
  exclude_chains = NULL, mess = TRUE, warn = TRUE)

Arguments

object

object inheriting from class 'JointAI'

outcome

optional; vector of integers giving the indices of the outcomes for which the random effects variance-covariance matrix/matrices should be returned.

start

the first iteration of interest (see window.mcmc)

end

the last iteration of interest (see window.mcmc)

thin

thinning interval (integer; see window.mcmc). For example, thin = 1 (default) will keep the MCMC samples from all iterations; thin = 5 would only keep every 5th iteration.

exclude_chains

optional vector of the index numbers of chains that should be excluded

mess

logical; should messages be given? Default is TRUE.

warn

logical; should warnings be given? Default is TRUE.


JointAI

Joint Analysis and Imputation of Incomplete Data

v1.0.2
GPL (>= 2)
Authors
Nicole S. Erler [aut, cre] (<https://orcid.org/0000-0002-9370-6832>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.