model.meta.ic {BayesCACE} | R Documentation |
Bayesian hierarchical model code for CACE meta-analysis with complete compliance data
Description
This function generates the model code for meta-analysis
when the dataset has incomplete compliance information for all studies,
as described in Section 2.2.2, "the Bayesian hierarchical model" of the package manuscript.
This function will be called internally if user uses the cace.meta.ic
function.
Usage
model.meta.ic(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.ic()