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 plot_sensitivity().

ptype

Type of plot to generate - either "bar", "pie" or "box".

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

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.7 Index]