space_-: Replacement Function for State Space

Description Usage Arguments Value Author(s) See Also Examples

Description

Replace the names of the state space

Usage

1
space(x) <- value

Arguments

x

mass function or credal set

value

new state space given as a character vector

Value

new mass function or credal set with the state space replaced

Author(s)

Alexander Karlsson

See Also

focal<-

Examples

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

# replace state space
space(m) <- c("d", "e", "f")

EvCombR documentation built on May 29, 2017, 9:35 p.m.