survSuperLearner.CV.control | R Documentation |
This function initiates control parameters for the cross-validation in survSuperLearner
function.
survSuperLearner.CV.control(
V = 10L,
stratifyCV = TRUE,
shuffle = TRUE,
validRows = NULL
)
V |
Number of cross-validation folds. Defaults to 10. |
stratifyCV |
Logical indicating whether to balance number of observed events across folds. Defaults to |
shuffle |
Logical indicating whether to shuffle the indices, or to simply assign sequentially. Defaults to |
validRows |
Optional custom list of indices for validation folds. |
Returns a list of length V
with validation indices for each of the folds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.