Skip to contents

It creates an explainable tree for Random Forest

Usage

e2tree(
  formula,
  data,
  D,
  setting = list(impTotal = 0.1, maxDec = 0.01, n = 5, level = 5, tMax = 5),
  method = "classification"
)

Arguments

formula

is a formula, with a response but no interaction terms.

data

is a data frame in which to interpret the variables named in the formula.

D

is the dissimilarity matrix.

setting

is a list containing the setting parameters for tree building procedure.

method

is a character... Default is setting=list(impTotal=0.1, maxDec=0.01, n=5, level=5, tMax=5).

Value

a e2tree object.

#examples