bootOob | R Documentation |
The oob bootstrap (smooths leave-one-out CV)
bootOob(y, x, id, fitFun, predFun)
y |
The vector of outcome values |
x |
The matrix of predictors |
id |
sample indices sampled with replacement |
fitFun |
The function for fitting the prediction model |
predFun |
The function for evaluating the prediction model |
The implementation follows \insertCiteEfron1997oosse
matrix of errors and inclusion times
estMSE boot632
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.