tempawn: Calculate temporal PAWN indices

Description Usage Arguments Value References

View source: R/tempawn.R

Description

tempawn calculates the PAWN sensitivity index for each time step of simulation results that were generated with the run_swat*() functions from the SWATplusR package. The PAWN method is implemented according to Pianosi and Wagener (2018). tempawn optionally includes the computation of the temporal sensitivity of a dummy parameter.

Usage

1
tempawn(sim, var = NULL, stat = median, bins = 25, dummy = TRUE, cores = NULL)

Arguments

sim

The simulation output object that results from a simulation with run_swat2012() or run_swatplus() from the SWATplusR package.

var

String vector of simulated variables that should be included in the sensitivity analysis. Default = NULL means all variables are included.

stat

The summary statistics that is used to compute the PAWN sensitivity index. Pianosi and Wagener (2015) suggest to implement the median or max. Default = median

bins

Number of bins into which each parameter dimension is separated. Default = 25

dummy

dummy = TRUE includes the calculation of the dummy sensitivity. This option can tremendously increase the calculation time, but provides very important information. Default = TRUE

cores

Parallel computing is implemented to reduce computation time. By default all cores are used. If a lower number of cores should be used set cores to a certain value.

Value

Returns a list of tables where each table provides the sensitivities for each time step of the simulation outputs to all the analyzed model parameters.

References

Pianosi, F. and Wagener T.: Distribution-based sensitivity analysis from a generic input-output sample, Environmental Modelling & Software, 108, 197-207, https://doi.org/10.1016/j.envsoft.2018.07.019, 2018

Pianosi, F. and Wagener T.: A simple and efficient method for global sensitivity analysis based on cumulative distribution functions, Environmental Modelling & Software, 67, 1-11, https://doi.org/10.1016/j.envsoft.2015.01.004, 2015


chrisschuerz/temPAWN documentation built on Nov. 21, 2020, 4:34 p.m.