Learn R Programming

PPforest (version 0.2.0)

ppf_global_imp: Global importance measure for a PPforest object

Description

Global importance measure for a PPforest object

Usage

ppf_global_imp(data, y, ppf)

Value

Data frame with the global importance measure

Arguments

data

Data frame with the complete data set.

y

A character with the name of the class variable.

ppf

is a PPforest object

References

da Silva, N., Cook, D., & Lee, E. K. (2021). A projection pursuit forest algorithm for supervised classification. Journal of Computational and Graphical Statistics, 30(4), 1168-1180.

Examples

Run this code
#crab data set with all the observations used as training
pprf.crab <- PPforest(data = crab, y = 'Type',
 std = 'no',  size.tr = 1, m = 200, size.p = .5, 
 PPmethod = 'LDA', parallel = TRUE, cores = 2)
 
ppf_global_imp(data = crab, y = 'Type', pprf.crab) 

Run the code above in your browser using DataLab