View source: R/winter_2ht_plots.R
| plot_2ht_fit | R Documentation |
Creates a comparison plot showing observed counts vs. model-predicted expected counts for both target-present and target-absent lineups.
plot_2ht_fit(x, ...)
x |
A winter_2ht object from fit_winter_2ht() |
... |
Additional arguments (not used) |
A ggplot object
counts <- c(
n_tp_suspect = 147, n_tp_filler = 94, n_tp_reject = 141,
n_ta_suspect = 38, n_ta_filler = 138, n_ta_reject = 206
)
fit <- fit_winter_2ht(counts, lineup_size = 6)
plot_2ht_fit(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.