bratley1988_Fun {sensobol} | R Documentation |
Bratley and Fox (1988) function
Description
It implements the Bratley and Fox (1988) function.
Usage
bratley1988_Fun(X)
Arguments
X |
A data frame or numeric matrix where each column is a model input and each row a sample point. |
Details
The function requires k
model inputs and reads as follows:
y=\prod_{i=1}^{k} |4x_i - 2 |\,,
where x_i\sim\mathcal{U}(0,1)
.
Value
A numeric vector with the model output.
Examples
# Define settings (test with k = 10)
N <- 100; params <- paste("X", 1:10, sep = "")
# Create sample matrix
mat <- sobol_matrices(N = N, params = params)
# Compute Bratley and Fox (1988) function
Y <- bratley1988_Fun(mat)
[Package sensobol version 1.1.5 Index]