Description Usage Arguments Value
splits train and test frames
1 | split_data(df, perc_train = 0.8)
|
df |
data.frame to split into train and test. |
perc_train |
Percent of data to place in train data set. |
a list with a test data.frame, train data.frame and train idices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.