Learn R Programming

autoBagging (version 0.1.0)

baggedtrees: bagged trees models

Description

The standard resampling with replacement (bootstrap) is used as sampling strategy.

Usage

baggedtrees(form, data, ntree = 100)

Arguments

form

formula

data

training data

ntree

no of trees

Examples

Run this code
ensemble <- baggedtrees(Species ~., iris, ntree = 50)

Run the code above in your browser using DataLab