Learn R Programming

SACOBRA (version 1.2)

predict.RBFinter: Apply cubic or Gaussian or MQ RBF interpolation

Description

Apply cubic or Gaussian or MQ RBF interpolation to a set of new data points for d>1.

Usage

# S3 method for RBFinter
predict(rbf.model, newdata, ...)

Arguments

rbf.model

trained RBF model (or set of models), see trainCubicRBF or trainGaussRBF

newdata

matrix or data frame with d columns. Each row contains a data point \(x_i,\ i=1,\ldots,n\)

...

(not used)

Value

vector of model responses \(s(x_i)\), one element for each data point \(x_i\) - or - if rbf.model is a set of m models, a (n x m)-matrix containing in each row the response \(s_j(x_i)\) of all models \(j = 1,\ldots,m\) to \(x_i\)

See Also

trainCubicRBF, trainGaussRBF, interpRBF