plot_ppmc_or_heatmap: PPMC Odds ratio heatmap Prints a heatmap of odds ratio...

Description Usage Arguments Value Examples

View source: R/odds_ratio.R

Description

PPMC Odds ratio heatmap Prints a heatmap of odds ratio differences used for post predictive model checking.

Usage

1
plot_ppmc_or_heatmap(or_data, alternative_color = FALSE, itemrange = NULL)

Arguments

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

Value

ggplot object

Examples

1
2
3
4
5
## Not run: 
or_data <- get_or(fit, n_samples = 500)
plot_ppmc_or_heatmap(or_data)

## End(Not run)

Famondir/birtms documentation built on Feb. 18, 2022, 2:51 a.m.