opts
.There is no need to call this function directly, use tdmOptsDefaultsSet
(opts)
instead, which calls tdmOptsDefaultsFill in the end.
tdmOptsDefaultsFill
fills the current opts
with further default
parameters if they are not yet defined. The defaults may depend on previously
defined elements of opts
(e.g. opts$filename
).
tdmOptsDefaultsFill(opts)
the options
opts
, the extended options, where additional elements, if they are not yet defined, are set as:
["TST.COL"]
["*_pic.pdf"] file for multipage graphics in case opts$GD.DEVICE
="pdf"
["PNG*"] directory for .png files in case opts$GD.DEVICE
="png"
["*.log"] where to log the output
["*_eval.csv"] file with evaluation results allEVAL
sample size for SRF, derived from RF.samp
one out of c("RGain", "MeanCA", "MinCA", "RMAE","RMSE", "MADE", "AreaROC", "AreaLift", "AreaPrRe"),
depending on opts$rgain.type
Here * is the stripped part of opts$filename (w/o suffix).
All files and directories in the above settings are relative to dir opts$dir.output.
What is the difference between tdmOptsDefaultsSet
and tdmOptsDefaultsFill
? --
tdmOptsDefaultsSet
is used for all parameters that do NOT depend on previously defined elements of opts
.
tdmOptsDefaultsFill
is used to fill in further opts
elements, if not yet defined, depending on
previous settings (e. g. opts$LOGFILE
is derived from opts$filename
).