Learn R Programming

resemble (version 1.2.2)

predgprdp: Prediction function for the gprdp function (Gaussian process regression with dot product covariance)

Description

Predicts response values based on a model generated by the gprdp function (Gaussian process regression with dot product covariance). For internal use only!.

Usage

predgprdp(Xz, alpha, newdata, scale, Xcenter, Xscale, Ycenter, Yscale)

Arguments

Xz
the final (scaled?) matrix of predictors used to create the regression model in the gprdp function
alpha
the alpha matrix corresponding to the regression model in the gprdp function
newdata
a matrix containing the predictor variables
scale
a logical indicating whether the matrix of predictors used to create the regression model (in the gprdp function) was scaled
Xcenter
if center = TRUE a matrix of one row with the values that must be used for centering newdata.
Xscale
if scale = TRUE a matrix of one row with the values that must be used for scaling newdata.
Ycenter
if center = TRUE a matrix of one row with the values that must be used for accounting for the centering of the response variable.
Yscale
if scale = TRUE a matrix of one row with the values that must be used for accounting for the scaling of the response variable.

Value

a matrix of predicted values