Calculates distances between pairs of posterior samples using the posterior samples or posterior predictive draws
Useful links