Plot a single dimensional Function
plotSingleDimFunction(evalFun, lower, upper, target)
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
.
boundary for x1 and x2 (defaults to c(0,0)
).
boundary (defaults to c(1,1)
).
String, which type of uncertainty estimation should be plotted? default: NULL - no estimation plotted. 's' standard estimation. 'sLinear' linearly adapted estimation.