plotEAT | R Documentation |
Plot a tree-structure for an Efficiency Analysis Trees model.
plotEAT(object)
object |
An |
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.
simulated <- X2Y2.sim(N = 50, border = 0.2) EAT_model <- EAT(data = simulated, x = c(1,2), y = c(3, 4)) plotEAT(EAT_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.