generate_data: Generate simulated data

Description Usage Arguments Value

View source: R/1 generate simulated data.R

Description

Generate simulated noisy data from the true underlying function f(x_1, x_2) = ((x_1 - 2)^2 + (x_2 - 2)^2 - (x_1 - 2) + 2(x_1 - 2)(x_2 - 2)) e^{ - (x_1 - 2)^2 - (x_2 - 2)^2}.

Usage

1
generate_data(nDOE = 200, sigma = 0.5)

Arguments

nDOE

An integer; number of points to generate.

sigma

A double; standard deviation of the white noise.

Value

A list:


PengChenEngineer/OptRegionGRFr documentation built on July 23, 2018, 12:10 a.m.