owsa_tornado | R Documentation |
Tornado plot of a one-way sensitivity analysis
owsa_tornado(
owsa,
return = c("plot", "data"),
txtsize = 12,
min_rel_diff = 0,
col = c("full", "bw"),
n_y_ticks = 8,
ylim = NULL,
ybreaks = NULL
)
owsa |
an owsa object |
return |
either return a ggplot object |
txtsize |
base text size |
min_rel_diff |
this function only plots
parameters that lead to a relative change in the outcome greater than or equal
to |
col |
either none, full color, or black and white |
n_y_ticks |
number of y-axis ticks |
ylim |
vector of y-axis limits, or NULL, which sets limits automatically |
ybreaks |
vector of y-axis breaks.
will override |
If return == "plot"
, a ggplot2
tornado plot derived from the owsa
object, or if return == "data"
, a data.frame
containing all data contained in the plot.
A tornado plot is a visual aid used to identify which parameters are driving most of the variation
in a specified model outcome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.