plot.twsa {dampack}R Documentation

Two-way sensitivity analysis plot

Description

Two-way sensitivity analysis plot

Usage

## S3 method for class 'twsa'
plot(
  x,
  maximize = TRUE,
  col = c("full", "bw"),
  n_x_ticks = 6,
  n_y_ticks = 6,
  txtsize = 12,
  ...
)

Arguments

x

a twsa object

maximize

If TRUE, plot of strategy with maximum expected outcome (default); if FALSE, plot of strategy with minimum expected outcome

col

either none, full color, or black and white

n_x_ticks

number of axis ticks

n_y_ticks

number of axis ticks

txtsize

base text size

...

further arguments to plot. This is not used by dampack but required for generic consistency.

Value

A ggplot2 plot of the two-way sensitivity analysis.


[Package dampack version 1.0.1 Index]