divide | R Documentation |
Set up train and test sets
divide(x, prob = c(0.8, 0.2))
x |
data set |
prob |
proportion of division |
a list containing train and test sets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.