ppf_avg_imp: Global importance measure for a PPforest object as the...

View source: R/ppf_avg_imp.R

ppf_avg_impR Documentation

Global importance measure for a PPforest object as the average IMP PPtree measure over all the trees in the forest

Description

Global importance measure for a PPforest object as the average IMP PPtree measure over all the trees in the forest

Usage

ppf_avg_imp(ppf, class)

Arguments

ppf

is a PPforest object

class

A character with the name of the class variable.

Value

Data frame with the global importance measure

Examples

#crab data set with all the observations used as training

pprf.crab <- PPforest(data = crab, std =TRUE, class = 'Type',
 size.tr = 1, m = 100, size.p = .5, PPmethod = 'LDA')
 ppf_avg_imp(pprf.crab, 'Type') 
 

natydasilva/PPforest2 documentation built on Oct. 30, 2023, 12:13 a.m.