addTobca: 2021-12-13. Added a check to remove duplicate subsets.
tabresul: 2021-12-14. Correction to the ordering of the three last rows of the table of results.
Vignette Zadeh's Example: 2021-12-21. Done with the peeling algorithm.
Functions revised. All functions : code simplification and documentation
dsrwon: 2021-04-23. Calculation of the measure of conflict revised to take into account the case of the combination with the vacuous belief function. This case is used at the beginning of nzdsr (normalization) to update the I12 matrix.
elim: 2021-05-30: example revised; 2021-07-06: call to fn matrixToMarray changed. Call to new fn "nameCols_prod"
added examples vignettes: Zadeh's example, Captain's problem
function dsrwon: added a check on values names to ensure that the two bca's combined are defined on the same space.
function extmin: added checks on names of variables, as well as their number and their position in a product space
Correction to fn extmin: Added a test for variable names missing.
Correction to productSpace function. Transpose of array removed at the end of the function.
added utility functions 'matrixToMarray' and 'marrayToMatrix' to execute the product space conversion of multidimensional data represented by a matrix, and vice-versa.
debugging of function 'extmin' (extension of data to a larger product space).
debugging of function 'elim' (reduction of a product space by elimination of one variable).
Added a vignette: The Monty hall Game, an introduction to belief functions.
functions (new and updated):
addTobca: New function. Adds some elements of 0 mass to an existing mass function.
bca: New version. Sets a class named "bcaspec". Parameters added to work with definitions on product spaces (relations).
bcaRel: New function to define a belief function on a product space.
belplau: Calculation of measures of belief, plausibility and ratio of plausibility.
decode: utility function
reduction: utility function to obtain the summary of a vector for any operator
dsrwon: Combination of two mass functions
elim: This is a new function. This function works on a relation defined on a product of two variables or more. Having fixed a variable to eliminate from the relation, the reduced product space is determined and the corresponding reduced bca is computed.This operation is also called "marginalization".
extmin: Extension of a relation to a greater product space
inters: Intersection of two tables of propositions
nameRows: New function: Using the column names of a matrix to construct names for the rows
nzdsr: Normalization of results from Dempster's rule of combination.
productSpace: New function. Product space representation of a relation
plautrans:Plausibility transformation of the singletons of a frame
tabresul: Prepare a table of results.
Removal of obsolete functions: butLast, combmasses, dempster, initsing, rplau, transfo
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.