h_hierarchical_compile_datamodel: Compile the Hierarchical Data Model
Description
![[Experimental]](figures/lifecycle-experimental.svg?package=crmPack&version=2.2.1)
Concatenates the arm-specific likelihood code into a single JAGS model
function. Each arm receives a unique variable-name prefix derived from its
user-facing name.
Usage
h_hierarchical_compile_datamodel(models_to_arms)
Value
A function representing the compiled JAGS data model.
Arguments
- models_to_arms
(list)
named arm-specific models.