Learn R Programming

BuyseTest (version 2.4.0)

autoplot.sensitivity: Graphical Display for Sensitivity Analysis

Description

Display the statistic of interest across various threshold values, possibly with confidence intervals. Currently only works when varying thresholds relative to one or two variables.

Usage

# S3 method for sensitivity
autoplot(
  object,
  plot = TRUE,
  col = NULL,
  ci = TRUE,
  band = TRUE,
  label = "Threshold for",
  position = NULL,
  size.line = 1,
  size.point = 1.75,
  size.ci = 0.5,
  alpha = 0.1,
  ...
)

Arguments

object

output of the sensitivity method

plot

[logical] should the graph be displayed in a graphical window

col

[character vector] color used to identify the thresholds relative to a second variable.

ci

[logical] should the confidence intervals be displayed?

band

[logical] should the simulatenous confidence intervals be displayed?

label

[character] text used before the name of the variables in the legend.

position

relative position of the error bars for a given x value. Can for instance be position_dodge(width = 5).

size.line

[numeric] width of the line connecting the point estimates.

size.point

[numeric] size of the point representing the point estimates.

size.ci

[numeric] width of the lines representing the confidence intervals.

alpha

[numeric] transparency for the area representing the simultaneous confidence intervals.

...

not used. For compatibility with the generic method.