model.meta.c {BayesCACE} | R Documentation |
Bayesian hierarchical model code for CACE meta-analysis with complete compliance data
Description
This function generates part of the model code for meta-analysis
when the dataset has complete compliance information for all studies,
as described in Section 2.2, "the Bayesian hierarchical model" of the package manuscript.
This function will be called internally if user uses the cace.meta.c
function.
Usage
model.meta.c(random.effects = list(), re.values = list())
Arguments
random.effects |
a list of logical values indicating whether random effects are included in the model.
The list should contain the assignment for these parameters only: |
re.values |
a list of parameter values for the random effects. It should contain the assignment for these
parameters only: |
Value
It returns a model string
Examples
# use default settings
model.string <- model.meta.c()