Distance between binned samples (rank for SBC) and discrete uniform

rank2unif(results, par, bins = 20)

## Arguments

par names of parameter to plot number of bins to use for summary array of dimension (n_iter, n_pars) where n_iter=number of posterior draw iterations, n_pars the number of parameters of interest integer in which thinning was applied