| get_train_and_test | R Documentation | 
get_train_and_test
get_train_and_test(df, n_top = 5, shuffle = TRUE, balanced = TRUE, pct = 1/5)
| df | input tibble.. must be 'glo_df' | 
| n_top | an integer for groupen the most 'n_top' classes and the rest to another signle class. | 
| shuffle | shuffle the rows before splitting | 
| balanced | balance the number of classes in train and test. | 
| pct | percentage to split into test. | 
'sagsnr', 'test' and 'label'.. must bed left joined to 'glo_df'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.