Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

space_-

Replacement Function for State Space


Description

Replace the names of the state space

Usage

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

Examples

# 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

Evidence Combination in R

v0.1-2
MIT + file LICENSE
Authors
Alexander Karlsson
Initial release
2014-04-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.