plot_sensitivity {COINr} | R Documentation |
Plot sensitivity indices
Description
Plots sensitivity indices as bar or pie charts.
Usage
plot_sensitivity(SAresults, ptype = "bar")
Arguments
SAresults |
A list of sensitivity/uncertainty analysis results from |
ptype |
Type of plot to generate - either |
Details
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 plotSA()
from COINr < v1.0.
Value
A plot of sensitivity indices generated by ggplot2.
See Also
-
get_sensitivity()
Perform global sensitivity or uncertainty analysis on a COIN -
plot_uncertainty()
Plot confidence intervals on ranks following a sensitivity analysis
Examples
# 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)
[Package COINr version 1.1.14 Index]