Description Usage Arguments Details Value References Examples
This function computes and bootstraps PAWN indices following the "generic approach" of \insertCitePianosi2018;textualpawnr.
1 | pawn_generic(data, Y, n, test, R)
|
data |
A data frame or matrix with the sample matrix. |
Y |
Numeric vector, model output. |
n |
Integer, number of conditioning intervals. |
test |
Summary statistic (i.e. |
R |
Integer, number of bootstrap replicas. |
The bootstrap is conducted without replacement, as recommended by \insertCiteKhorashadiZadeh2017;textualpawnr.
A data table with the bootstrap PAWN indices of each model input.
1 2 3 4 5 | # Create matrix:
A <- randtoolbox::sobol(n = 100, dim = 8)
# Compute model output:
Y <- sobol_Fun(A)
T <- pawn_generic(data = A, Y = Y, n = 10, test = median, R = 50 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.