Learn R Programming

htetree (version 0.1.20)

importance: Caclulate variable importance

Description

Each primary split is credited with the value of splits$improve Each surrogate split gets split$adj times the primary split's value

Usage

importance(fit)

Value

same as the importance function in rpart.

Arguments

fit

a fitted causalTree object.