Description Objects from the Class Slots Extends Methods See Also Examples

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

Objects can be created by calls to the functions `card.capacity`

, `lower.capacity`

, `upper.capacity`

, `uniform.capacity`

.

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

.

Class `card.game`

, directly.
Class `superclass.capacity`

, directly.
Class `card.set.func`

, by class `card.game`

.
Class `superclass.set.func`

, by class `card.game`

.

- 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")`

`capacity-class`

,

`card.capacity`

,

`as.capacity-methods`

,

`conjugate-methods`

,

`entropy-methods`

,

`favor-methods`

,

`is.normalized-methods`

,

`orness-methods`

,

`variance-methods`

,

`veto-methods`

.

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.