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


apricom documentation built on May 2, 2019, 6:21 a.m.

Related to randpart in apricom...