card.capacity-class {kappalab}R Documentation

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).

Objects from the Class

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

Slots

n:

Object of class numeric of length 1 equal to the number of elements of the set on which the cardinal game is defined.

data:

Object of class numeric of length n+1 containing the coefficients of the cardinal capacity. We necessarily have data[1]=0 and data[i+1]-data[i]>0.

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.

Methods

as.capacity

signature(object = "card.capacity")

conjugate

signature(object = "card.capacity")

entropy

signature(object = "card.capacity")

favor

signature(object = "card.capacity")

is.normalized

signature(object = "card.capacity")

normalize

signature(object = "card.capacity")

orness

signature(object = "card.capacity")

variance

signature(object = "card.capacity")

veto

signature(object = "card.capacity")

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

## 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)

[Package kappalab version 0.4-12 Index]