# card.capacity-class: Class "card.capacity" In kappalab: Non-Additive Measure and Integral Manipulation Functions

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

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24``` ```## 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) ```

kappalab documentation built on May 2, 2019, 5:49 a.m.