## a cardinal game (which is a capacity)
mu <- card.game(c(0,rep(1,4)))
# the attributes of the object
mu@n
mu@data
## a conversion
as.game(mu)
## integral calculations
f <- c(0.2,0.3,0.1,0.7)
Choquet.integral(mu,f)
Sugeno.integral(mu,f)
f <- c(0.2,-0.3,0.1,-0.7)
Sipos.integral(mu,f)
Run the code above in your browser using DataLab