Description Usage Arguments Value Examples
helper function for splitting out data sets by proportion
1 | data_split(data, prop)
|
data |
a data.frame type object |
prop |
the proportion of the data in the secondary (smaller) subset |
a list with the primary and secondary subsets in specified proportion
1 | data_split(cars, 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.