Skip to contents

The default "landing" plot overlays observed kappa, PABAK, and AC1 on the GRASS prevalence-conditioned reference curves. The "regime" plot places the study on the PI^2 vs BI^2 plane.

Usage

# S3 method for class 'grass_result'
plot(
  x,
  type = c("landing", "regime"),
  labels = c("auto", "inline", "legend"),
  show_medium = FALSE,
  title = NULL,
  subtitle = NULL,
  ...
)

Arguments

x

A grass_result object.

type

Either "landing" (default) or "regime".

labels

Where to identify the three curves: "auto" (default – inline at the right edge unless curves are too close together), "inline", or "legend".

show_medium

If TRUE, also plot the medium-quality reference curves as a faint dotted band. Default FALSE.

title, subtitle

Optional strings to override the default title and subtitle. Pass NULL to omit either.

...

Unused.

Value

A ggplot object.

Details

Reference curves are the Youden-J-optimal metric values from the GRASS simulation across prevalence, for competent raters (Se, Sp at or above 0.85 for "high" quality; 0.70 for "medium").