Learn R Programming

suropt (version 0.1.1)

predict,surmodel-method: Predictor surogate model

Description

This functions performs predictions for an surogate model.

Usage

# S4 method for surmodel
predict(object, newdata = NULL)

Arguments

object

An object of class surmodel

newdata

An opttional vector, matrix or data.frame containing the points where to perfom predictions. If not provided the predicted optima will be outputed.