Ri: Calculates the indicator of information's rate of the data...

Description Usage Arguments Value Examples

View source: R/Ind_Evaluation_30112018.R

Description

Calculates the indicator of information's rate of the data base for a given unit

Usage

1
Ri(x, i, b_jk, SI)

Arguments

x

the data set to evaluate.

i

an observation index.

b_jk

a matrix of length(b_j) rows and max(SI) columns expressing the initial weights of each sub-item of a given main-item.

SI

an array representing the total numbers of sub-items per main-item.

Value

A numerical value giving the indicator of information's rate of the complete linguistic questionnaire for a particular observation. Note that the obtained value is interpreted as the more it tends to the value 1, the less the observation i contains missing values.

Examples

1
2
3
4
5
6
7
8
data <- matrix(c(3,4,2,3,3,2,4,3,3,4,3,4,4,2,5,3,4,4,3,3,3,4,4,3,
3,3,4,3,3,3,3,4,4,3,5,3,4,3,3,3), ncol = 4)
data <- as.data.frame(data)
SI1 <- 2
SI2 <- 2
SI <- c(SI1,SI2)
b_jk <- matrix(c(0.5,0.5,0.5,0.5),nrow=2) 
Ri(data, 7, b_jk, SI)

FuzzySTs documentation built on Nov. 23, 2020, 5:11 p.m.