dComb: Dempster's Combination Operator In EvCombR: Evidence Combination in R

Description

Combine evidence in the form of mass functions using Dempster's combination operator.

Usage

 `1` ```dComb(x,y) ```

Arguments

 `x` single mass function or a list of mass functions `y` single mass function if `x` is a single mass function, otherwise missing

mass function

Author(s)

Alexander Karlsson

References

Dempster, A. P. (1969), A generalization of Bayesian inference, Journal of the Royal Statistical Society, 30, 205-247

Shafer, G. (1976), A Mathematical Theory of Evidence Princeton University Press

`yComb, mComb, cComb`

Examples

 ``` 1 2 3 4 5 6 7 8 9 10 11``` ```# state space stateSpace <- c("a", "b", "c") # mass functions m1 <- mass(list("a"=0.1, "a/b/c"=0.9), stateSpace) m2 <- mass(list("a"=0.2, "a/b/c"=0.8), stateSpace) # Dempster's combination dComb(m1, m2) # or dComb(list(m1, m2)) ```

Example output

```EvCombR - Evidence Combination in R, Version 0.1-2

An object of class "mass"
Slot "focal":
\$a
[1] 0.28

\$`a/b/c`
[1] 0.72

Slot "space":
[1] "a" "b" "c"

An object of class "mass"
Slot "focal":
\$a
[1] 0.28

\$`a/b/c`
[1] 0.72

Slot "space":
[1] "a" "b" "c"
```

EvCombR documentation built on May 29, 2017, 9:35 p.m.