Learn R Programming

matrixCorr (version 0.12.3)

plot.prob_agree: Plot probability-of-agreement results

Description

Plot probability-of-agreement results

Usage

# S3 method for prob_agree
plot(
  x,
  threshold = NULL,
  title = "Probability of agreement",
  style = c("auto", "curve", "facet", "heatmap"),
  show_ci = NULL,
  ...
)

Value

A ggplot object.

Arguments

x

An object returned by prob_agree().

threshold

Optional probability threshold shown in curve plots.

title

Optional plot title.

style

Plot style: "auto" and "curve" draw pairwise probability curves; "facet" draws one curve panel per comparison; "heatmap" shows probability by predictor value and comparison.

show_ci

Logical; for curve plots, controls whether confidence ribbons are shown. By default ribbons are shown for one comparison and suppressed for multiple comparisons.

...

Additional arguments passed to ggplot2::theme().