fastfun: Fastfun function

Description Usage Arguments Value

Description

Modification of an R function to be used as with methods predict and update (similar to a km object). It creates an S4 object which contains the values corresponding to evaluations of other costly observations. It is useful when an objective can be evaluated fast.

Usage

1
fastfun(fn, design, response = NULL)

Arguments

fn

the evaluator function, found by a call to match.fun,

design

a data frame representing the design of experiments. The ith row contains the values of the d input variables corresponding to the ith evaluation.

response

optional vector (or 1-column matrix or data frame) containing the values of the 1-dimensional output given by the objective function at the design points.

Value

An object of class fastfun-class.


DiceOptim documentation built on Feb. 2, 2021, 1:06 a.m.