node_data {PPforest} | R Documentation |
Data structure with the projected and boundary by node and class.
Description
Data structure with the projected and boundary by node and class.
Usage
node_data(ppf, tr, Rule = 1)
Arguments
ppf |
is a PPforest object |
tr |
numerical value to identify a tree |
Rule |
split rule 1:mean of two group means, 2:weighted mean, 3: mean of max(left group) and min(right group), 4: weighted mean of max(left group) and min(right group) |
Value
Data frame with projected data for each class and node id and the boundaries
Examples
#crab data set with all the observations used as training
pprf.crab <- PPforest(data = crab, std =TRUE, class = 'Type',
size.tr = 1, m = 200, size.p = .5, PPmethod = 'LDA')
node_data(ppf = pprf.crab, tr = 1)
[Package PPforest version 0.1.3 Index]