Skip to contents

Extract sampled-only monitors from a configureMCMC object

Usage

monitors_sampled_from_conf(conf, monitors, strict = FALSE, keep_order = TRUE)

Arguments

conf

nimble::MCMCconf returned by nimble::configureMCMC()

monitors

character vector of base node names (your monitor vector)

strict

logical; if TRUE, error if none are sampled

keep_order

logical; if TRUE keep original order

Value

character vector monitors_sampled with attributes for diagnostics