Learn R Programming

kappalab (version 0.4-0)

capacity-class: Class "capacity"

Description

Class representing a capacity, i.e. a monotone set function vanishing at the empty set (also called fuzzy measure, non-additive measure, monotone measure).

Arguments

Objects from the Class

Objects can be mainly created by calls to the functions capacity and entropy.capa.ident.

Extends

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

See Also

capacity, entropy.capa.ident, as.card.capacity-methods, conjugate-methods, entropy-methods, favor-methods, is.normalized-methods, normalize-methods, Mobius-methods, orness-methods, variance-methods, veto-methods.

Examples

Run this code
## a capacity
mu <- capacity(c(0:13,13,13)/13)

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

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

## a conversion that should not work
## as.card.capacity(mu)

## some transformations
conjugate(mu)
Mobius(mu)
## let us check ...
zeta(Mobius(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