Description Usage Arguments Value Note
Divide a data frame into training and test set, or training, quiz and test set.
1 | divideTrainTest(seed = NULL, prop.train = 0.6, prop.quiz = NULL, data)
|
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 |
data |
The data frame to be split. |
A list with elements named test
and train
, or with
elements named train
and quiz
and test
.
For more details on use, consult http://statistics.rainandrhino.org/tigerTree/divideTrainTest.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.