Description Usage Arguments Value
Split a data frame into training a test sets
1  | data_split(tab, frac = 0.5, seed = NULL)
 | 
tab | 
 The data frame  | 
frac | 
 Fraction of data for training set (will be rounded up)  | 
seed | 
 Random seed  | 
A list with train and test components
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.