Skip to contents

The sampler does not care which surrogate produced the potential, so surrogate_potential() is the only line that looks at which fit it has.

Usage

slice_sample_surrogate(fit, x_obs, ctl, n, verbose = FALSE)