Build the model string by interpolating the Stan template
Source:R/load_and_interpolate_stan_model.R
build_model_string.RdBuild the model string by interpolating the Stan template
Usage
build_model_string(
template_domain,
template_filename,
outcome,
borrowing,
analysis_obj,
...
)Arguments
- template_domain
Character string specifying the domain of the template (e.g., "surv", "bin", "cont")
- template_filename
Character string specifying the filename of the Stan template
- outcome
Outcomeobject- borrowing
Borrowingobject- analysis_obj
Analysisobject- ...
Additional named arguments to be passed for interpolation