Description Usage Arguments Value Note Examples
Predict from a GaSPModel
object.
1 
GaSP_model 
Object of class 
x_pred 
A data frame containing the values of the input variables at which to predict the output. 
generate_coefficients 
A boolean indicating whether coefficients for further external predictions are generated. 
A list with the following elements:
y_pred 
A data frame with two columns: the predictions

pred_coeffs 
A vector of coefficients for further predictions;

The vector of prediction coefficients in pred_coeffs
can be used as follows. Let c denote the coefficients and let
r denote a vector with element i containing the correlation
between the output at a given new point and the output at training point i.
Then the prediction for the output at the new point is the dot product
of c and r.
RMSE
computes the root mean squared error
of the predictions.
PlotPredictions
and PlotResiduals
plot the predictions or their residuals;
PlotStdResiduals
and PlotQQ
plot the standardized residuals.
1 2 3 4 5 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.