randterminalTyped: Create a random terminal node

Description Usage Arguments Value

View source: R/creation.r

Description

Create a random terminal node

Usage

1
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.


rgp documentation built on May 30, 2017, 12:45 a.m.