card.capacity-class | R Documentation |
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
.
signature(object = "card.capacity")
signature(object = "card.capacity")
signature(object = "card.capacity")
signature(object = "card.capacity")
signature(object = "card.capacity")
signature(object = "card.capacity")
signature(object = "card.capacity")
signature(object = "card.capacity")
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
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.