Learn R Programming

Sobol4R (version 0.4.0)

sobol_g2_qoi_mean_R: Quantity-of-interest wrapper for the noisy G-function (k = 2)

Description

Computes a mean over repeated evaluations of the noisy model.

Usage

sobol_g2_qoi_mean_R(
  X,
  nrep = 1000,
  sd = 1,
  a = c(0, 1, 4.5, 9, 99, 99, 99, 99)
)

Value

Numeric vector of QoI values (means over nrep runs).

Arguments

X

Numeric matrix or data.frame with at least two columns.

nrep

Number of replicates used for the QoI.

sd

Standard deviation of the Gaussian noise.

a

Numeric vector of parameters (at least length 2).