Learn R Programming

SPOT (version 2.11.10)

plotSingleDimFunction: plotSingleDimFunction

Description

Plot a single dimensional Function

Usage

plotSingleDimFunction(evalFun, lower, upper, target)

Arguments

evalFun

function to be plotted. The function should either be able to take two vectors or one matrix specifying sample locations. i.e. z=f(X) or z=f(x2,x1) where Z is a two column matrix containing the sample locations x1 and x2.

lower

boundary for x1 and x2 (defaults to c(0,0)).

upper

boundary (defaults to c(1,1)).

target

String, which type of uncertainty estimation should be plotted? default: NULL - no estimation plotted. 's' standard estimation. 'sLinear' linearly adapted estimation.