Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.twsa

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.


dampack

Decision-Analytic Modeling Package

v1.0.0
GPL-3
Authors
Fernando Alarid-Escudero [aut], Greg Knowlton [aut, cre], Caleb Easterly [aut], Eva Enns [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.