plotEAT {eat} | R Documentation |
Efficiency Analysis Trees Plot
Description
Plot a tree-structure for an Efficiency Analysis Trees model.
Usage
plotEAT(object)
Arguments
object |
An |
Value
Plot object with the following elements for each node:
id: node index.
R: error at the node.
n(t): number of observations at the node.
an input name: splitting variable.
y: output prediction.
Examples
simulated <- X2Y2.sim(N = 50, border = 0.2)
EAT_model <- EAT(data = simulated, x = c(1,2), y = c(3, 4))
plotEAT(EAT_model)
[Package eat version 0.1.4 Index]