
Plot Person scores from a shared-rater model
Source:R/api-random-rater-scoring.R
plot.mfrm_random_rater_scores.RdPlot Person scores from a shared-rater model
Usage
# S3 method for class 'mfrm_random_rater_scores'
plot(
x,
draw = TRUE,
style = c("interval", "precision", "distribution"),
sort = c("input", "estimate", "uncertainty"),
palette = c("accessible", "mono"),
title = NULL,
caption = NULL,
show_title = TRUE,
show_notes = TRUE,
show_labels = TRUE,
reference = 0,
text_scale = 1,
point_size = 2.5,
...
)Arguments
- x
A result from
score_mfrm_random_rater().- draw
FALSEreturns plot data without opening a device.- style
"interval"keeps every labeled row;"precision"plots estimates against interval width (upper minus lower bound);"distribution"shows the empirical cumulative distribution of finite point estimates, excluding prior-only and unavailable scores. No density is reconstructed.- sort
Row order for interval plots: input order, increasing estimate, or increasing interval width. Missing values come last; ties retain input order. Sorting is descriptive, not a test of differences.
- palette
"accessible"uses blue and dark orange with filled/open symbols;"mono"uses dark grey with the same symbol distinctions.- title, caption
NULLuses the default text; a string replaces it;""removes it. Interpretation notes remain in the saved plot data.- show_title, show_notes
Show the title and caption, respectively.
FALSEhides text without deleting its metadata.- show_labels
Show IDs on interval and precision plots. Distribution plots summarize estimates and do not label individual IDs. For crowded precision plots use
FALSEand consult the retained table.- reference
Vertical reference line in logits;
NULLomits it. This is an orientation aid, not a quality threshold.- text_scale
Positive multiplier for text size.
- point_size
Positive point size in ggplot millimetres; base graphics use the corresponding relative size (2.5 is the default).
- ...
Unused.
Value
Invisibly, an mfrm_plot_data object; use plot_data().
Details
In the default interval view, all requested Persons remain labeled. Open circles indicate
prior-only results; unavailable scores have no point or interval.
Intervals are conditional on calibration and use joint rater Laplace
integration. They are not tests of Person differences. as_ggplot()
preserves these meanings without rerunning scoring.
See also
plot.mfrm_testlet_scores() for view selection, accessible output
and the meaning of the empirical distribution.