plot.owsa: Plot a sensitivity analysis

Description Usage Arguments Value

View source: R/owsa.R

Description

Plot a sensitivity analysis

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S3 method for class 'owsa'
plot(
  x,
  txtsize = 12,
  col = c("full", "bw"),
  facet_scales = c("free_x", "free_y", "free", "fixed"),
  facet_nrow = NULL,
  facet_ncol = NULL,
  size = 1,
  n_x_ticks = 6,
  n_y_ticks = 6,
  basecase = NULL,
  ...
)

Arguments

x

an owsa object

txtsize

base text size in the plot

col

either full-color ("full") or black and white ("bw")

facet_scales

whether the x or y axes should be fixed. See facet_grid in the ggplo2 package for more details.

facet_nrow

number of rows in plot facet.

facet_ncol

number of columns in plot facet. The default (NULL) is passed to facet_wrap, which determines the number of rows and columns automatically.

size

either point size (ptype = "point") and/or line size (ptype = "line")

n_x_ticks

number of axis ticks

n_y_ticks

number of axis ticks

basecase

named list of specific values for each parameter 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 owsa object.


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