EAT_size: Number of Leaf Nodes in an Efficiency Analysis Trees model

View source: R/EAT.R

EAT_sizeR Documentation

Number of Leaf Nodes in an Efficiency Analysis Trees model

Description

This function returns the number of leaf nodes for an Efficiency Analysis Trees model.

Usage

EAT_size(object)

Arguments

object

An EAT object.

Value

Number of leaf nodes of the Efficiency Analysis Trees model introduced.

Examples

simulated <- Y1.sim(N = 50, nX = 3)
EAT_model <- EAT(data = simulated, x = c(1, 2, 3), y = 4, numStop = 10, fold = 5)
EAT_size(EAT_model)


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