Focal Elements of a Mass Function

Description

Returns the set of focal elements of a mass function.

Usage

1
focal(x)

Arguments

x

a mass function

Value

focal elements of x

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, 1976

See Also

points

Examples

1
2
3
4
5
6
7
8
# 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.