plot.owsa {dampack}R Documentation

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.


[Package dampack version 1.0.1 Index]