h_hierarchical_compile_datamodel: Compile the Hierarchical Data Model

View source: R/HierarchicalModel-class.R

h_hierarchical_compile_datamodelR Documentation

Compile the Hierarchical Data Model

Description

[Experimental]

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)

Arguments

models_to_arms

(list)
named arm-specific models.

Value

A function representing the compiled JAGS data model.


crmPack documentation built on July 5, 2026, 9:06 a.m.