generateLv {eat}R Documentation

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)

Arguments

data

Data to be split into train and test subsets.

fold

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

Value

A list structure with the train and the test set.


[Package eat version 0.1.4 Index]