Learn R Programming

RoughSetKnowledgeReduction (version 0.1)

valueReduct: VALUE REDUCT

Description

Objects of this class are not meant to be directly created by users; instead, they are created by the objects of the class Condition Reduct.

Usage

valueReduct(theConditionReduct, theValueReduct)

Arguments

theConditionReduct
A Condition Reduct object
theValueReduct
A numeric matrix representing a value reduct

Value

References

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

See Also

ValueReduct-class

Examples

Run this code
exampleMatrix2 <- matrix(c(1,1,0,1,1,2,2,0,0,0,1,1,1,2,0, 
0,0,0,0,0,2,1,0,0,1,2,2,2,1,1,0,0,2,2,2),ncol = 5)
dt <- new(Class="DecisionTable",decisionTable = exampleMatrix2)
cr <- new(Class="ConditionReduct",decisionTable = dt,columnIds=c(1,2,4,5))
vr <- computeValueReduct(cr)

Run the code above in your browser using DataLab