Skip to contents

Build a configureMCMC with sanitized/expanded monitors

Usage

.configure_with_monitors(
  model,
  monitors = NULL,
  thin = 1L,
  thin2 = NULL,
  opts = samOptiPro_options()
)

Arguments

model

Nimble model (R-level or compiled).

monitors

Monitors roots (optional).

thin, thin2

Thinning for monitors / monitors2.

opts

Optional package options.

Value

A configureMCMC object with thin/thin2 harmonised and the attributes ._sop_monitors_roots, ._sop_monitors2_roots, ._sop_monitors_nodes, ._sop_monitors2_nodes.