plotEAT: Efficiency Analysis Trees Plot

View source: R/plotEAT.R

plotEATR Documentation

Efficiency Analysis Trees Plot

Description

Plot a tree-structure for an Efficiency Analysis Trees model.

Usage

plotEAT(object)

Arguments

object

An EAT object.

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)



eat documentation built on Jan. 10, 2023, 5:13 p.m.