| Daim.control {Daim} | R Documentation |
Control of resampling methods.
Daim.control(method="boot", number = 100, replace = TRUE,
boot.size = 1, k = 10, k.runs = 10,
dependency = list(var = NULL, keep.id = FALSE))
method |
The resampling method: boot, cv |
number |
the number of bootstrap samples. |
replace |
a logical indicating whether sampling of observations is done with or without replacement. |
boot.size |
percentage of observations (0 < boot.size < 1) to draw without replacement (only relevant if replace = FALSE). In this case subagging (Buehlmann and Yu, 2002) without replacement is performed. |
k |
the number of folds |
k.runs |
the number of runs of k-fold cross-validations |
dependency |
... |
Leo Breiman (1996b), Out-Of-Bag Estimation. Technical Report.
ftp://ftp.stat.berkeley.edu/pub/users/breiman/OOBestimation.ps.Z.
Peter Buehlmann and Bin Yu (2002), Analyzing Bagging.
The Annals of Statistics 30(4), 927–961.
###
### for bootstrap
###
Daim.control(method="boot",number=100)
###
### for cross-validation
###
Daim.control(method="cv", k=10, k.runs=10)
###
### for subagging or subsampling
###
Daim.control(method="boot", number=100, replace=FALSE,
boot.size=0.9)