powered by
Returns the set of focal elements of a mass function.
focal(x)
a mass function
focal elements of x
x
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, 1976
points
# NOT RUN { # state space stateSpace <- c("a", "b", "c") # mass functions m <- mass(list("a"=0.1, "b"=0.1 , "c"=0.4, "a/b/c"=0.4), stateSpace) # obtain focal elements focal(m) # }
Run the code above in your browser using DataLab