rank2unif: Distance between binned draws (rank for SBC) and discrete...

View source: R/metric.R

rank2unifR Documentation

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

Description

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

Usage

rank2unif(results, par, bins = 20)

Arguments

par

names of parameter to plot

bins

number of bins to use for summary

ranks

array of dimension (n_iter, n_pars) where n_iter=number of posterior draw iterations, n_pars the number of parameters of interest

thin

integer in which thinning was applied


hyunjimoon/SBC documentation built on March 15, 2024, 3:18 a.m.