plot.hzhf_function: Plot function for 'hzhf_function' objects Produces a heat map...

Description Usage Arguments Value

View source: R/plotTestFunction.R

Description

Plot function for hzhf_function objects

Produces a heat map / contour line plot for a given hzhf_function.

Usage

1
2
3
## S3 method for class 'hzhf_function'
plot(x, resolution = 128, ids = NULL,
  def.vec = 0.35 * getZMax(f), ...)

Arguments

x

[\codehzhf_function]
Function to be plotted

resolution

[integer(1)]
Size of the grid of function evaluations. In total, resolution * resolution points are evaluated. Default is 128.

ids

[integer(2)]
For functions with dimension > 2, only 2 parameters are varied and plotted. ids defines which, the default the eqn1. and the (k + 1). parameter

def.vec

[double(in.dim)]
Defines values for the parameters not varied. (For simplicity, value for all parameters must be specified, however, the values def.vec[ids] will be ignored). Defaults to the optimum of the function, i.e. 0.7 * 1:in.dim

...

[any]
Not used.

Value

A smoof_function.


danielhorn/hierarchTestFuns documentation built on Oct. 3, 2019, 9:30 p.m.