Skip to contents

This is intended for importing or recovering an already completed sampler run. Use sbt_mcmc() to run a new sampler.

Usage

sbt_add_mcmc(fit, mcmc, settings = list(), check = TRUE, check_args = list())

Arguments

fit

An sbt_fit whose objective has been built.

mcmc

SparseNUTS-style output, an array, or a sample matrix.

settings

Named portable sampler settings.

check

Run check_mcmc() after attachment.

check_args

Named arguments passed to check_mcmc().

Value

The updated sbt_fit.