buildModel(res, distanceFunction, control)model Model to be used as a surrogate of the target function. Default is "K" (Kriging). Also
available are: "LM" (linear, distance-based model), "RBFN" Radial Basis Function Network.
modelSettings List ofit model-fit
fpred prediction functionoptimCEGO