Diagnostic tools using the R coda package