generateLv: Train and Test Sets Generation

View source: R/treesForRCV.R

generateLvR 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.


eat documentation built on Jan. 10, 2023, 5:13 p.m.