focal<- | R Documentation |
Replaces focal elements of a mass function.
focal(x) <- value
x |
a mass function |
value |
new focal elements for the mass function |
mass function with focal elements replaced.
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
# 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) # replace focal elements focal(m) <- list("a/b"=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.