Skip to contents

Dispatches to the backend-specific code generators:

  • build_code_sb_from_spec() for stick-breaking ("sb")

  • build_code_crp_from_spec() for CRP and spliced ("crp", "spliced")

Usage

build_code_from_spec(spec)

Arguments

spec

A compiled model specification produced by compile_model_spec().

Value

A nimbleCode object.

Details

The model size is controlled by spec$meta$components only.