plot_2ht_fit: Plot Observed vs. Expected Counts

View source: R/winter_2ht_plots.R

plot_2ht_fitR Documentation

Plot Observed vs. Expected Counts

Description

Creates a comparison plot showing observed counts vs. model-predicted expected counts for both target-present and target-absent lineups.

Usage

plot_2ht_fit(x, ...)

Arguments

x

A winter_2ht object from fit_winter_2ht()

...

Additional arguments (not used)

Value

A ggplot object

Examples

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)


r4lineups documentation built on Nov. 10, 2026, 1:08 a.m.