Learn R Programming

SPOT (version 2.11.10)

funNoise: funNoise

Description

noise function

Usage

funNoise(x, fun = funSphere, mean = 0, sigma = 1)

Arguments

x

input matrix of candidate solution

fun

objective function. Default: funSphere

mean

error mean. Default: 1

sigma

error sd. Default: 1

Value

vector of noisy objective function values

Examples

Run this code
# NOT RUN {
set.seed(123)
require(SPOT)
x <- matrix(1:10, 5,2)
funNoise(x)

# }

Run the code above in your browser using DataLab