Description Usage Arguments Value Examples
PPMC Odds ratio heatmap Prints a heatmap of odds ratio differences used for post predictive model checking.
1 | plot_ppmc_or_heatmap(or_data, alternative_color = FALSE, itemrange = NULL)
|
or_data |
dataframe generated by birtms::get_or() |
alternative_color |
boolean; color highlight only the problematic items |
itemrange |
integer vector of length 2; first and last item to incorporate in the heatmap |
ggplot object
1 2 3 4 5 | ## Not run:
or_data <- get_or(fit, n_samples = 500)
plot_ppmc_or_heatmap(or_data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.