Skip to contents

Produces a named list of constants to pass into nimbleModel. Constants include core sizes (N, P, components) and hyperparameters for priors implied by spec$plan.

Usage

build_constants_from_spec(spec)

Arguments

spec

A compiled model specification produced by compile_model_spec().

Value

Named list of constants.

Details

This function is pre-run only; it does not compile or execute NIMBLE.