plotSingleDimFunction: plotSingleDimFunction

View source: R/plotSingleDimFunction.R

plotSingleDimFunctionR Documentation

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.


SPOT documentation built on June 26, 2022, 1:06 a.m.