sa: Calculate sensitivities

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/sa.R

Description

sa provides a general interface to sensitivity analysis, similar to optim.

Usage

1
sa(par, fn, method = c("FAST"), ..., xval = NULL)

Arguments

par

A matrix with to columns. The first giving the lower, the second giving the upper bound to the parameters of fn.

fn

Function for which to analyise sensitivities, with first argument the vector of parameters for which to analyze sensitivities.

method

Currently, only fast is available.

...

Additional arguments passed to fn

xval

Values for the x-axis if fn returnes a vector.

Details

Let me know what details you would like to know (email to the maintainer)!

Value

A vector of sensitivities

Author(s)

Dominik Reusser

References

Reusser, Dominik E., Wouter Buytaert, and Erwin Zehe. "Temporal dynamics of model parameter sensitivity for computationally expensive models with FAST (Fourier Amplitude Sensitivity Test)." Water Resources Research 47 (2011): W07551.

See Also

See Also as sensitivity, sensitivity_rep for the internally used functions.

Examples

1
2
3
#Does the same as the example in sensitivity_rep but with less code

sa(par=matrix(c(0,0,0,0,  1,2,2,3), ncol=2), fn=example_model2)

fast documentation built on May 2, 2019, 5:56 a.m.