model.study {BayesCACE} | R Documentation |
Model code of CACE analysis for a single study, or a two-step approach for meta-analysis with complete complice information
Description
This function generates the model code for a single study using the
likelihood and model specified in Section 2.1, or a two-step
approach for meta-analysis with complete compliance information as
described in Section 2.2, "The two-step approach" of the package manuscript.
This function will be called internally if user uses the cace.study
function.
Usage
model.study(re.values = list())
Arguments
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
model.string <- model.study()