divideTrainTest: Train-Test Splitting

Description Usage Arguments Value Note

Description

Divide a data frame into training and test set, or training, quiz and test set.

Usage

1
divideTrainTest(seed = NULL, prop.train = 0.6, prop.quiz = NULL, data)

Arguments

seed

A seed for randomization (recommended).

prop.train

Proportion of the data to include in the training set.

prop.quiz

Proportion of the data to include in a quiz set (if any). Set to NULL by default.

data

The data frame to be split.

Value

A list with elements named test and train, or with elements named train and quiz and test.

Note

For more details on use, consult http://statistics.rainandrhino.org/tigerTree/divideTrainTest.html


homerhanumat/tigerTree documentation built on May 17, 2019, 4:51 p.m.