plot_uncertainty {COINr} | R Documentation |
Plots the ranks resulting from an uncertainty and sensitivity analysis, in particular plots the median, and 5th/95th percentiles of ranks.
plot_uncertainty(
SAresults,
plot_units = NULL,
order_by = "nominal",
dot_colour = NULL,
line_colour = NULL
)
SAresults |
A list of sensitivity/uncertainty analysis results from |
plot_units |
A character vector of units to plot. Defaults to all units. You can also set
to |
order_by |
If set to |
dot_colour |
Colour of dots representing median ranks. |
line_colour |
Colour of lines connecting 5th and 95th percentiles. |
To use this function you first need to run get_sensitivity()
. Then enter the resulting list as the
SAresults
argument here.
See vignette("sensitivity")
.
This function replaces the now-defunct plotSARanks()
from COINr < v1.0.
A plot of rank confidence intervals, generated by 'ggplot2'.
get_sensitivity()
Perform global sensitivity or uncertainty analysis on a coin
plot_sensitivity()
Plot sensitivity indices following a sensitivity analysis.
# for examples, see `vignette("sensitivity")`
# (this is because package examples are run automatically and sensitivity analysis
# can take a few minutes to run at realistic settings)