View source: R/get_calib_periods.R
get_calib_periods | R Documentation |
Reads in .nml file and splits the time period in a calibration and a validation time period to avoid over-fitting
get_calib_periods(nml_file, ratio = 1)
nml_file |
String of the GLM namelist file, in most cases this is 'glm3.nml' |
ratio |
Double of the ratio between calibration and validation, default is 1 which refers to calibration:validation 1:1, 2 would mean that calibration:validation would be 2:1 |
Robert Ladwig
get_calib_setup, calibrate_sim, get_calib_init_validation
calib_periods <- get_calib_periods(system.file("extdata/", "glm3.nml", package = "glmtools"),
ratio = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.