View source: R/reliability_indices.R
| sobol_reliability | R Documentation |
Transform stored simulator samples into Sobol indices for the binary failure
indicator described by Lebrun et al. (2021). The function reuses the
Saltelli-type estimator from sobol_indices() and therefore requires a
previous call with keep_samples = TRUE.
sobol_reliability(result, threshold, less = TRUE)
result |
Output of |
threshold |
Numeric scalar defining the failure boundary. |
less |
Logical, when |
A sobol_result instance storing the Sobol indices of the failure
indicator along with the estimated failure probability and its variance.
design <- sobol_design(n = 128, d = 3, lower = rep(-pi, 3), upper = rep(pi, 3))
stochastic <- sobol_indices(ishigami_model, design, replicates = 3,
keep_samples = TRUE)
failure <- sobol_reliability(stochastic, threshold = -1)
Sobol4R::autoplot(failure, show_uncertainty = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.