summary.PositiveRegion: The summary function of positive region based on RST and FRST

Description Usage Arguments Author(s) Examples

View source: R/IOFunctions.R

Description

This function enables the output of a summary of the positive region and degree of dependency.

Usage

1
2
## S3 method for class 'PositiveRegion'
summary(object, ...)

Arguments

object

a "PositiveRegion" object. See BC.positive.reg.FRST and BC.positive.reg.RST.

...

the other parameters.

Author(s)

Lala Septem Riza

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
dt.ex1 <- data.frame(c(1,0,2,1,1,2,2,0), c(0, 1,0, 1,0,2,1,1),
                        c(2,1,0,0,2,0,1,1), c(2,1,1,2,0,1,1,0), c(0,2,1,2,1,1,2,1))
colnames(dt.ex1) <- c("aa", "bb", "cc", "dd", "ee")
decision.table <- SF.asDecisionTable(dataset = dt.ex1, decision.attr = 5,
                                    indx.nominal = c(1:5))

## in this case, we consider second and third attributes only
P <- c(2,3)

####### Perform indiscernibility relation #######
IND <- BC.IND.relation.RST(decision.table, feature.set = P)

####### Perform lower and upper approximations #####
roughset <- BC.LU.approximation.RST(decision.table, IND)

####### Determine the positive region ######
region <- BC.positive.reg.RST(decision.table, roughset)

summary(region)

janusza/RoughSets documentation built on Jan. 26, 2020, 11:22 p.m.