Learn R Programming

JointAI (version 1.0.6)

expand_rd_vcov_full: Expand rd_vcov using variable names in case "full" is used

Description

Expand rd_vcov using variable names in case "full" is used

Usage

expand_rd_vcov_full(rd_vcov, rd_outnam)

Value

A named list per grouping level where each elements contains information on how the random effects variance-covariance matrices on that level are structured. Per level there is a list of grouping structures containing the names of variables in each structure (e.g. list(full = c("a", "b"), indep = "c"))

Arguments

rd_vcov

the random effects variance covariance structure provided by the user (check_rd_vcov_list() is called internally)

rd_outnam

list by grouping level of the names of the outcome variables that have random effects on this level