The distribution of the remaining dimensions of a mvdist_normal() given fixed values for a
subset. Available for "MultivariateNormal" only.
Details
The returned distribution inherits mv's Genz integrator settings, as mvdist_marginal()
does: seed, max_evaluations, abs_error, and rel_error all carry over.
Examples
mvdist_mean(mvdist_conditional(mvdist_normal(c(1, 2, 3), diag(3)), given = 2, values = 5))
#> [1] 1 3