plot.twsa: Two-way sensitivity analysis plot

Description Usage Arguments Value

View source: R/twsa.R

Description

Two-way sensitivity analysis plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'twsa'
plot(
  x,
  maximize = TRUE,
  col = c("full", "bw"),
  n_x_ticks = 6,
  n_y_ticks = 6,
  txtsize = 12,
  basecase = NULL,
  ...
)

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

basecase

named list of specific combination of param1 and param2 values to highlight on the returned plot. Each list element must have the same name as the corresponding parameter in the owsa object.

...

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.


DARTH-git/dampack documentation built on Aug. 8, 2021, 2:58 a.m.