For a mixture of distributions that support closed-form conditioning (e.g. MVN), uses Bayes' rule to update the mixing weights: w′k∝wkfk(xgiven)
conditional(component_k, given_indices = ..., given_values = ...).
# S3 method for class 'mixture'
conditional(x, P = NULL, ..., given_indices = NULL, given_values = NULL)A mixture or empirical_dist object.
Falls back to MC realization if P is provided or if any
component does not support given_indices/given_values.