Skip to contents

Thin wrapper around resolve_obs() with first_row = FALSE; see there for the rationale shared with resolve_x(), including why a non-finite entry stops here rather than warns.

Usage

resolve_x_iid(post, x, arg = "obs")

Arguments

post

An nsbi_mcmc_posterior object.

x

Observation to condition on, or NULL to use the posterior's x_obs.

arg

Name the caller's argument goes by, for the error message. sample() calls it obs and log_prob() calls it x.