Description Usage Arguments Value
Splits data frame into train and test sets
1 | split_test_train(.data, .p = 0.8, ...)
|
.data |
Input data set |
.p |
Proportion of cases to appear in training data |
... |
Optional, specify response variable via non-standard evaluation |
a list with "train" and "test" data frames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.