gdm.validate: Performs (independent) validation of GDM model

Description Usage Arguments Value

Description

This function performs (independent) validation of a GDM model.

It requires (independent) calibration and validation datasets in combined site pair ("spData") data format, as well as the definition of the performance measure to be used in the validation and the optional use of geographical distance as predictor variable in the gdm.

#' For more details relating to "spData" data format, check gdm package.

Usage

1
gdm.validate(caldata, valdata, performance = "r2", geo = F)

Arguments

caldata

Calibration dataset, in combined site pair ("spData") data format.

valdata

Validation dataset, in combined site pair ("spData") data format.

performance

Performance metric to be used for validation: "rmse" for root mean square error (RMSE) or "r2" for coefficient of determination (r2). Set as "r2" per default.

geo

Optional use of geographical distance as predictor in GDM model. set to FALSE per default.

Value

Returns model performance value.


steppebird/sparsegdm documentation built on May 16, 2019, 2:55 a.m.