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

View source: R/CrossValidate.R

CrossValidateR Documentation

Cross-validated predictions for a GaSPModel object.

Description

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

Usage

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


borehole_cv <- CrossValidate(borehole_fit)

GaSP documentation built on May 31, 2023, 7:54 p.m.