node_data: Data structure with the projected and boundary by node and...

Description Usage Arguments Value Examples

View source: R/node_data.R

Description

Data structure with the projected and boundary by node and class.

Usage

1
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

1
2
3
4
5
#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) 

PPforest documentation built on Oct. 14, 2021, 5:06 p.m.