node_data | R Documentation |

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

```
node_data(ppf, tr, Rule = 1)
```

`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) |

Data frame with projected data for each class and node id and the boundaries

```
#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)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.