R/backends.R
SBC_posterior_cdf.RdBackends that represent explicit posterior distributions (i.e. not just samples) can implement this S3 generic to evaluate the CDF of that distribution at the simulated values.
SBC_posterior_cdf(fit, variables)
# S3 method for default
SBC_posterior_cdf(fit, variables)an object returned by the SBC_fit() method.
a named vector of values at which to evaluate the CDF
either NULL (the default implementation) or a data.frame
with a row for each variable. The columns must include:
variable (variable name), and either cdf (if there are no ties) or the
pair cdf_low and cdf_high indicate the possible tied values for the CDF.
A backend may choose to return explicit CDF only for some model parameters.
return from SBC_fit().