Description Usage Arguments Value Examples
split_data
split the data into a training_set
and a testing_set based on the training_percentage
.
1 | split_data(dataset, training_percentage)
|
dataset |
A data frame of the dataset. |
training_percentage |
A number between 0 and 100 indicating the percertage of the training dataset. |
A list with two data frame: training_set and testing_set.
1 | adult_data <- split_data(adult[1:100,], 70)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.