Draw or return reusable plot data for a response_time_review() object.
Plot types are descriptive screening views and do not represent a joint
response-time model.
Arguments
- x
A
mfrm_response_time_reviewobject.- type
Plot type:
"distribution","person","facet", or"score".- facet
Optional facet name when
type = "facet".- top_n
Maximum number of person or facet rows to plot.
- preset
Visual preset.
- draw
If
TRUE, print theggplotobject. IfFALSE, return theggplotobject invisibly without drawing.- ...
Unused.
Value
Invisibly, a ggplot object carrying reusable tables, thresholds,
overview, and interpretation notes accessible via plot_data().
Session plot defaults
See mfrmr_visual_diagnostics for options(mfrmr.plot_preset), argument
precedence, and appearance when saving or reusing a plot.
Migration in 0.2.4
This renderer is internal. Use the corresponding plot() route in
mfrmr_plot_migration; the former exported name is no longer available.
Examples
# Supplementary workflow: run explicitly to keep routine checks brief.
# example("plot_response_time_review", run.dontrun = TRUE)
if (FALSE) { # \dontrun{
toy <- load_mfrmr_data("example_core")
toy$ResponseTime <- 10 + seq_len(nrow(toy)) %% 6 + as.numeric(toy$Score)
rt <- response_time_review(
toy, person = "Person", facets = c("Rater", "Criterion"),
score = "Score", time = "ResponseTime"
)
plot(rt, type = "distribution", draw = FALSE)
plot(rt, type = "person", draw = FALSE)
} # }
