focal | R Documentation |
Returns the set of focal elements of a mass function.
focal(x)
x |
a mass function |
focal elements of x
Alexander Karlsson
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
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.