splitSampleByGroup | R Documentation |
Split sample by group into traning and validation set
splitSampleByGroup(sample = NULL, group = NULL, seed = 666, fraction = 0.5)
sample |
Vector |
group |
Vector |
seed |
Default 666 |
fraction |
Default 0.5 |
list(Train=train.design, Validation=validation.design)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.