Learn R Programming

eat (version 0.1.4)

isFinalNode: Is Final Node

Description

This function evaluates a node and checks if it fulfills the conditions to be a final node.

Usage

isFinalNode(obs, data, numStop)

Value

True if the node is a final node and false in any other case.

Arguments

obs

Observation in the evaluated node.

data

Data with predictive variable.

numStop

Minimum number of observations in a node to be split.