Simple helper that wraps sensitivity::sobol with model = NULL
to create the extended design matrix used to evaluate the model.
sobol4r_design(
X1,
X2,
order = 2,
nboot = 0,
type = c("soboljansen", "sobol", "sobol2007", "sobolEff", "sobolmartinez"),
...
)An object of class "sobol" whose $X field contains
the design matrix. You should evaluate your model on $X and
then call sensitivity::tell().
First sample (matrix or data.frame).
Second sample (matrix or data.frame).
Maximum interaction order (1 or 2).
Number of bootstrap replicates for confidence intervals.
Type of Monte Carlo Estimation of Sobol' Indices to be used.
Supported estimators mirror the sensitivity helpers: sobol,
sobol2007, soboljansen, sobolEff, and
sobolmartinez. Defaults to "soboljansen", which is the
safest general-purpose choice for both deterministic and stochastic
simulators.
Additional arguments passed to sensitivity::sobol.