Learn R Programming

fast (version 0.64)

p.sensitivity: Plot a vector (e.g. time series) of sensitivities

Description

This function plots the results from the sensitivity_rep function.

Usage

p.sensitivity(sen, xval, legend, legend.cex = 0.5, range = 1:NROW(sen), col = 1:NROW(sen), lty = rep(1, NROW(sen)), smooth = rep(FALSE, NROW(range)), x.range  = 1:length(xval), m.max = max(sen[range, ], na.rm = TRUE), limits = rep(FALSE, NROW(range)), xlab = "time", ylab = "Sensitivity", ...)

Arguments

sen
returned object from sensitivity_rep
xval
Data defining the position on the x-axis. Usually a vector of POSIX-Dates
legend
Entries for the legend text
legend.cex
Size of the legend
range
List of parameter-sensitivies to plot
col
Vector of colors for parameters
smooth
Vector of TRUE or FALSE values. Sensitivity series are smooted using a LOWES smoother if TRUE.
lty
see par
xlab
see par
ylab
see par
x.range
Range of x-values to plot.
m.max
Maximum value for the y-axis
limits
Vector of limits for sensitivities. Ploted as ... If FALSE, the limit for the corresponding series is ignored
...
Parameters passed to the plot-function

Value

This value is used for its plot-function.

See Also

sensitivity_rep