ConflictTable: Computing the conflict table

Description Usage Arguments Value See Also Examples

View source: R/ConflictTable.R

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 ω_1, and number 4 donoets \{ω_1,ω_2\} if the discernment frame is \{ω_1,ω_2,…,ω_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

1
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

1
2
3
4
## 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) 

ibelief documentation built on Jan. 7, 2021, 9:07 a.m.