Learn R Programming

SDR (version 0.7.0.0)

Rule.addLabel: Adds a new random label to the variable selected in the rule.

Description

Adds a new random label to the variable selected in the rule.

Usage

Rule.addLabel(rule, variable, dataset)

Arguments

rule
The rule to work with
variable
the selected variable (is the index of the list $antecedent of the rule)
dataset,
the dataset where getting all the data.

Value

the same rule but with the params reinitialized and marked as non evaluated.