baggedtrees function

bagged trees models

bagged trees models

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

baggedtrees(form, data, ntree = 100)

Arguments

  • form: formula
  • data: training data
  • ntree: no of trees

Examples

ensemble <- baggedtrees(Species ~., iris, ntree = 50)
  • Maintainer: Vitor Cerqueira
  • License: GPL (>= 2)
  • Last published: 2017-07-02

Useful links