Learn R Programming

RoughSetKnowledgeReduction (version 0.1)

getDiscernibilityMatrix: GET DISCERNIBILITY MATRIX

Description

Accessor method for obtaining the boolean array which represents a slot of a Discernibility Matrix object.

Usage

getDiscernibilityMatrix(object)

Arguments

object
A Discernibility Matrix object

Value

References

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

See Also

DiscernibilityMatrix-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)
dm <- computeDiscernibilityMatrix(dt)
dmArray <- getDiscernibilityMatrix(dm)

Run the code above in your browser using DataLab