EAT_object: Create a EAT object

Description Usage Arguments Value

View source: R/objects.R

Description

This function saves information about the Efficiency Analysis Trees model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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.


MiriamEsteve/EAT documentation built on Jan. 18, 2022, 6:55 p.m.