Software Open Access
Arnald Puy
sensobol
The goal of sensobol is to provide a set of functions to swiftly compute and visualize up to third-order Sobol' sensitivity indices. The functions allow to:
Installation
You can install the released version of sensobol as follows:
install.packages("devtools") # if you have not installed devtools package already
devtools::install_github("arnaldpuy/sensobol", build_vignettes = TRUE)
Example
This brief example shows how to compute Sobol' indices. For a more detailed explanation of the package functions, check the vignette.
## Create sample matrix
A <- sobol_matrices(n = 1000,
k = 3,
second = TRUE)
## Compute the model output (using the Ishigami test function):
Y <- ishigami_Mapply(A)
## Compute the Sobol' indices:
sens <- sobol_indices(Y = Y,
params = colnames(data.frame(A)),
R = 100,
n = 1000,
second = TRUE)
| Name | Size | |
|---|---|---|
|
arnaldpuy/sensobol-v1.0.0.zip
md5:17997c48f16d92e39fce79e8d18d34d3 |
58.5 kB | Download |
| All versions | This version | |
|---|---|---|
| Views | 123 | 84 |
| Downloads | 12 | 4 |
| Data volume | 649.6 kB | 234.2 kB |
| Unique views | 113 | 78 |
| Unique downloads | 8 | 3 |