prism_tune: Function to tune PRISM parameters using cross validation.

Description Usage

View source: R/PRISM.R

Description

This function conducts a grid search over the given list of parameters and selects parameters that minimize the cross validated error according to the provided scoring method.

Usage

1
2
3
4
5
prism_tune(formula = log(RESPONSE) ~ ELEVATION, locations,
  distImp = 0.8, minRad = 10, wdistance = 2, welevRange = list(lwr
  = 200, upr = 2500), welevation = c("ELEVATION", 1), wbasin = c(NA,
  3), weco = c(NA, 3), bound = FALSE, tune_folds = 10,
  tune_score = "MAE")

beanb2/snowload documentation built on Jan. 7, 2020, 9:48 p.m.