powered by
This functions returns the state space of an evidence structure.
space(x)
mass function or credal set
a character vector with the names within the state space
# NOT RUN { # state space stateSpace <- c("a", "b", "c") # construct mass function m <- mass(list("a"=0.1, "b"=0.1 , "c"=0.4, "a/b/c"=0.4), stateSpace) # obtain state space space(m) # }
Run the code above in your browser using DataLab