Description Usage Arguments Value Note
Randomly partition a dataset into a training set and a test set.
1 | randpart(dataset, fract)
|
dataset |
a dataset for splitting. |
fract |
the proportion of observations to be designated to the training set. |
Returns a list containing the training set and test set.
This function is not designed to be called directly,
but acts within splitval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.