CrossValidate: Cross-validated predictions for a 'GaSPModel' object.

Description Usage Arguments Value Note Examples

View source: R/CrossValidate.R

Description

Compute leave-one-out cross-validated predictions for a GaSPModel object.

Usage

1
CrossValidate(GaSP_model)

Arguments

GaSP_model

Object of class GaSPModel.

Value

A data frame with two columns: the cross-validated predictions Pred and their standard errors SE.

Note

RMSE computes the root mean squared error of the predictions. PlotPredictions and PlotResiduals plot the predictions or their residuals; PlotStdResiduals and PlotQQ plot the stanadardized residuals.

Examples

1
borehole_cv <- CrossValidate(borehole_fit)

GaSP documentation built on June 7, 2021, 5:08 p.m.