mComb | R Documentation |
Combine evidence in the form of mass functions using modified Dempster's combination operator.
mComb(x,y,z)
x |
single mass function or a list of mass functions |
y |
single mass function if |
z |
prior distribution if |
The prior distribution is provided in the form of a list where the names are equivalent to the state space. See the examples.
mass function
Alexander Karlsson
Fixsen, D., Mahler, R. P. S. (1997), The modified Dempster-Shafer approach to classification, IEEE Transactions on Systems, Man and Cybernetics, Part A: Systems and Humans, 27, 96-104
dComb, yComb, cComb
# 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) # modified Dempster's combination using the uniform prior mComb(m1, m2) # or mComb(list(m1, m2)) # modified Dempster's combination using a specific prior mComb(m1, m2, list("a"=0.1, "b"=0.1, "c"=0.8)) # or mComb(list(m1, m2), list("a"=0.1, "b"=0.1, "c"=0.8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.