Learn R Programming

eat (version 0.1.4)

generateLv: Train and Test Sets Generation

Description

This function splits the original data in two new data sets: a train set and a test set.

Usage

generateLv(data, fold)

Value

A list structure with the train and the test set.

Arguments

data

Data to be split into train and test subsets.

fold

Parts in which the original set is divided, to perform Cross-Validation.