Learn R Programming

RoughSetKnowledgeReduction (version 0.1)

getDecision: GET DECISION

Description

Method for obtaining the decision of the rules in a Decision Table object.

Usage

getDecision(object)

Arguments

object
A Decision Table object

Value

References

Pawlak, Zdzislaw 1991 Rough Sets: Theoretical Aspects of Reasoning About Data Dordrecht: Kluwer Academic Publishing.

See Also

DecisionTable-class

Examples

Run this code
exampleMatrix1 <- matrix(c(1,0,2,1,1,2,2,0,0,1,0,1,0,2,1,1,2,
1,0,0,2,0,1,1,2,1,1,2,0,1,1,0,0,2,1,2,1,1,2,1),ncol = 5)
dt <- decisionTable(exampleMatrix1)
desDt <- getDecision(dt)

Run the code above in your browser using DataLab