Learn R Programming

kappalab (version 0.4-0)

card.capacity-class: Class "card.capacity"

Description

Class representing a cardinal capacity, i.e. a capacity whose values depend only on the cardinality of subsets (also called symmetric capacity).

Arguments

Objects from the Class

Objects can be created by calls to the functions card.capacity, lower.capacity, upper.capacity, uniform.capacity.

Extends

Class card.game, directly. Class superclass.capacity, directly. Class card.set.func, by class card.game. Class superclass.set.func, by class card.game.

See Also

capacity-class, card.capacity, as.capacity-methods, conjugate-methods, entropy-methods, favor-methods, is.normalized-methods, orness-methods, variance-methods, veto-methods.

Examples

Run this code
## a capacity
mu <- card.capacity(0:6/6)
## the same
mu <- uniform.capacity(6)

# the attributes of the object
mu@n
mu@data

## a test
is.normalized(mu)
normalize(mu)

## a transformation
conjugate(mu)

## some summary indices
orness(mu)
veto(mu)
favor(mu)
variance(mu)
entropy(mu)
## the same
summary(mu)

Run the code above in your browser using DataLab