bagging: Bagging data

Description Usage Arguments Value

View source: R/splitRFEAT.R

Description

Bootstrap aggregating for data.

Usage

1
bagging(data, x, y)

Arguments

data

Dataframe containing the variables in the model.

x

Column input indexes in data.

y

Column output indexes in data.

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.


MiriamEsteve/EAT documentation built on Jan. 18, 2022, 6:55 p.m.