Learn R Programming

RoughSetKnowledgeReduction (version 0.1)

getColumnIds: GET COLUMN IDS

Description

Accessor method for the column ids which compose a slot of a Condition Reduct object.

Usage

getColumnIds(object)

Arguments

object
A Condition Reduct object

Value

References

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

See Also

ConditionReduct-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 <- findFirstConditionReduct(dt)
cids <- getColumnIds(cr)

Run the code above in your browser using DataLab