Learn R Programming

eat (version 0.1.4)

bagging: Bagging data

Description

Bootstrap aggregating for data.

Usage

bagging(data, x, y)

Value

List containing training dataframe and list with binary response as 0 if the observations have been selected for training and 0 in any other case.

Arguments

data

Dataframe containing the variables in the model.

x

Column input indexes in data.

y

Column output indexes in data.