| create.test.index | R Documentation | 
This function provides resamples for test data to be used in evaluate or ROCcurve
Arguments are similar to trainControl.
create.test.index(
  testy,
  control = NULL,
  method = "boot",
  number = ifelse(grepl("cv", method), 10, 25),
  repeats = 10,
  p = 0.75
)
| testy | A factor of response variable of the test data. | 
| control | A  | 
| method, number, repeats, p | Check  | 
When control is provided, arguments "method", "number",
"repeats" and "p" are obtained from the trainControl
object and used to create the index for test data. When control = NULL, the arguments provided
in this function are used instead.
A list of test data index to be used in each resampling.
create.test.index.blockCV
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.