Description Usage Arguments Value
A function to randomly split a data frame into training and test samples.
1 | split_data(.data, .test_rate = 0.1)
|
.data |
a data frame |
.test_rate |
the (approximate) portion of the data allocated to test data |
a list of two dataframes, the training and test dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.