randpart: Accessory Function for Sample Splitting

Description Usage Arguments Value Note

Description

Randomly partition a dataset into a training set and a test set.

Usage

1
randpart(dataset, fract)

Arguments

dataset

a dataset for splitting.

fract

the proportion of observations to be designated to the training set.

Value

Returns a list containing the training set and test set.

Note

This function is not designed to be called directly, but acts within splitval



Search within the apricom package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.