Show a diagnosis plot of pi
the output from a keyATM model (see keyATM()).
an integer or a vector. Indicate topics to visualize. Default is NULL.
integer. The starting value of iteration to use in the plot. Default is 0.
value of the credible interval (between 0 and 1) to be estimated. Default is 0.9 (90%). This is an option when calculating credible intervals (you need to set store_pi = TRUE in keyATM()).
method for computing the credible interval. The Highest Density Interval (hdi, default) or Equal-tailed Interval (eti). This is an option when calculating credible intervals (you need to set store_pi = TRUE in keyATM()).
method for computing the point estimate. mean (default) or median. This is an option when calculating credible intervals (you need to set store_pi = TRUE in keyATM()).
keyATM_fig object.