Accessory Function for Sample Splitting
Randomly partition a dataset into a training set and a test set.
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.