EAT_object: Create a EAT object

View source: R/objects.R

EAT_objectR Documentation

Create a EAT object

Description

This function saves information about the Efficiency Analysis Trees model.

Usage

EAT_object(
  data,
  x,
  y,
  rownames,
  numStop,
  fold,
  max.depth,
  max.leaves,
  na.rm,
  tree
)

Arguments

data

data.frame or matrix containing the variables in the model.

x

Column input indexes in data.

y

Column output indexes in data.

rownames

string. Data rownames.

numStop

Minimum number of observations in a node for a split to be attempted.

fold

Set of number of folds in which the dataset to apply cross-validation during the pruning is divided.

max.depth

Maximum number of leaf nodes.

max.leaves

Depth of the tree.

na.rm

logical. If TRUE, NA rows are omitted. If FALSE, an error occurs in case of NA rows.

tree

list containing the nodes of the Efficiency Analysis Trees pruned model.

Value

An EAT object.


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