PPimportance {PPtreeregViz} | R Documentation |
Calculate variable importance
Description
Calculate the importance of variables in the PPTreereg
model.
For local importance, weighted sum of projection coefficients with the number of data corresponding to
each node as the weighted value in each node is used.
The global importance is absolute sum of local importance.
Usage
PPimportance(PPTreeregOBJ,...)
Arguments
PPTreeregOBJ |
PPTreereg class object - a model to be explained |
... |
arguments to be passed to methods |
Value
An object of the class PPimpobj
Examples
data(dataXY)
Model <- PPTreereg(Y~., data = dataXY, DEPTH = 2)
PPimportance(Model)
[Package PPtreeregViz version 2.0.5 Index]