Build the model string by interpolating the Stan template
build_model_string(
template_domain,
template_filename,
outcome,
borrowing,
analysis_obj,
...
)
String containing the interpolated Stan model
Character string specifying the domain of the template (e.g., "surv", "bin", "cont")
Character string specifying the filename of the Stan template
Outcome
object
Borrowing
object
Analysis
object
Additional named arguments to be passed for interpolation