Learn R Programming

rgp (version 0.4-1)

randterminalTyped: Create a random terminal node

Description

Create a random terminal node

Usage

randterminalTyped(typeString, inset, conset, constprob)

Arguments

typeString
The string label of the type of the random terminal node to create.
inset
The set of input variables.
conset
The set of constant factories.
constprob
The probability of creating a constant versus an input variable.

Value

A random terminal node, i.e. an input variable or a constant.