Creates the modelspecs function used by mcmc() to prepare the JAGS data
needed by the dynamically compiled hierarchical model.
h_hierarchical_compile_modelspecs(
models_to_arms,
parameter_pools,
pool_correlations = list(),
pool_priors = list()
)A function returning the JAGS data list.
(list)
named arm-specific models.
(list)
exchangeable parameter specification from
HierarchicalModel().
(list)
optional named list pairing exactly two
scalar exchangeable pools into correlated bivariate normal blocks. Higher
dimensional correlation blocks, such as correlations across three or more
parameters, are not supported.
(list)
optional named list of pool-specific
hyperprior overrides.