Description Usage Arguments Examples
This function allows you to split a dataset into training and test datasets.
1 | dataset.split(df, m = NULL)
|
df |
Dataset. |
m |
Size of training dataset (optional). Default: nrow(df)/2 |
1 2 3 | splitted.df <- dataset.split(df)
splitted.df$train
splitted.df$test
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.