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

plot.owsa

Plot a sensitivity analysis


Description

Plot a sensitivity analysis

Usage

## 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,
  ...
)

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

...

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

Value

A ggplot2 plot of the owsa object.


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.