View source: R/helpfunctions_vcov.R
check_rd_vcov_list | R Documentation |
Checks if rd_vcov
is a list
with elements for all grouping levels or does
not specify a grouping level.
If valid, this function also make sure that rd_vcov
is a list per grouping
level by duplicating the contents if necessary.
check_rd_vcov_list(rd_vcov, idvar)
rd_vcov |
a character string or a list describing the the random effects variance covariance structure (provided by the user) |
idvar |
vector with the names of all grouping variables (except "lvlone") |
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 it can be either a character string (e.g. "full"
) or a
list specifying structures per (groups) of
variable(s) (e.g. list(full = c("a", "b"), indep = "c")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.