Model expected error between Metric and DI
errorModel(preds_all, model, window.size, calib, k, m)scam or lm
data.frame: pred, obs, DI
the model used to get the AOA
Numeric. Size of the moving window. See rollapply.
Character. Function to model the DI~performance relationship. Currently lm and scam are supported
Numeric. See mgcv::s
Numeric. See mgcv::s