plot the sensitivity matrix
sensitivity.graph.Rd
Produce a cumulative shaded area plot for the sensitivity matrix.
Usage
sensitivity.graph(
u,
S,
color = hcl.colors(dim(S)[2]),
line.color = hcl.colors(dim(S)[2] + 1),
do.sort = TRUE,
decreasing = FALSE,
title = "Sensitivity"
)
Arguments
- u
the values of the x-axis for the plot, if named, the names are put at the tick-marks
- S
the sensitivity matrix as returned by
globalSensitivity()
, Si,j is with respect to model output i and parameter j- color
the list of colors to use for the shaded areas, e.g.: rainbow(24)
- line.color
the color of the lines drawn between the shaded areas
- do.sort
the parameter sensitivities are sorted according to the mean over all outputs, the parameter with the most sensitivity is plotted first, at the bottom
- decreasing
direction of sort, the first item in the sorted list (the parameter) will be plotted first, and thus at the bottom of the plot
- title
string, written above, as a title