R/binary-calibration.R
binary_probabilities_from_stats.RdTakes all variables marked with binary_var_attribute() in the
statistics (the $stats field of an SBC_results object)
and transforms the reported CDF values into probabilities
that the underlying binary variable is 1.
binary_probabilities_from_stats(stats)A data.frame with at least the columns variable and prob.
To support exact binary probabilities, a backend must implement SBC_posterior_cdf(),
as exact probabilities cannot be derived from samples.