gof: Goodness of Fit

Description Usage Arguments Value Author(s)

View source: R/gof.R

Description

An internal function for estimating correlation metrics for cross-validation procedures

Usage

1
gof(do, fits, obs, flag = NULL)

Arguments

do

the 'test' data set used in cross-validation procedures.

fits

the predicted values derived from a training model with test data as inputs.

obs

the predicted values derived from a test model with test data as inputs.

flag

a flag passed for whether a model converged (0 = TRUE, 1 = FALSE), usually as a result of insufficient test data.

Value

Returns a list containing the fitted and observed values (obj[[i]]$values) and cross-validation metrics (obj[[i]]$cv).

Author(s)

Peter Mahoney


ABoVE-AotM/above documentation built on May 28, 2020, 6:08 a.m.