Learn R Programming

ibelief (version 1.3.1)

ConflictTable: Computing the conflict table

Description

Computing the table of conflict for \(nbexperts\) masses and \(natoms = round(\log2(lm))\) classes. This function gives the conflict focal set combinations for the \(nbexperts\) masses. The focal sets are labeled in natural order, e.g, number 2 denotes \(\omega_1\), and number 4 donoets \(\{\omega_1,\omega_2\}\) if the discernment frame is \(\{\omega_1,\omega_2,\ldots,\omega_n\}\). Note that only one case of conflict is given. For example, if expert 1 says 3, and expert 2 says 2 the function returns matrix(c(2,3),,1) and if expert 1 says 2, and expert 2 says 3 the function also returns matrix(c(2,3),,1).

Usage

ConflictTable(lm, nbexperts)

Arguments

lm

The length of the power set of the discernment frame, i.e., \(2^{natoms}\)

nbexperts

The number of experts (masses)

Value

Matrix with \(nbexperts\) rows and number of conflict focal set combinations columns.

See Also

PCR6, decisionDST

Examples

Run this code
# NOT RUN {
## The conflict table for two experts in a discernment frame with three elements
 ConflictTable(2^3,2) 
##The conflict table for three experts in a discernment frame with four elements
 ConflictTable(2^4,3) 

# }

Run the code above in your browser using DataLab