Description Usage Arguments Value
View source: R/split_train_test.R
Create training-testing data splits for crossvalidation.
1 | split_train_test(data, method = "kfold", ...)
|
data |
A (sf) data frame. |
method |
Either "kfold", "loo", "mc", "cluster" or "grid". |
... |
Arguments passed on to the resampling functions. |
A data frame with n / prod(n) rows and columns test and train.
test and train are list-columns containing resample
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.