card.set.func {kappalab} | R Documentation |
These functions create objects of class
card.set.func
, card.game
, or card.capacity
from an object of class numeric
.
card.set.func(object) card.game(object) card.capacity(object) lower.capacity(n) upper.capacity(n) uniform.capacity(n)
object |
An object of class numeric containing the
coefficients of the cardinal set function. The coefficient at
position k corresponds to the value of the cardinal set
function for subsets of size k . |
n |
An object of class numeric of length 1 containing
the cardinal of the set on which the cardinal set function is
defined. |
Return objects of class card.set.func
, card.game
, or card.capacity
.
card.capacity-class
,
card.game-class
,
card.set.func-class
.
card.set.func(4:-2) card.game(c(0,-2:2)) card.capacity(0:5) lower.capacity(3) upper.capacity(4) uniform.capacity(5)