Learn R Programming

kappalab (version 0.4-12)

is.cardinal-methods: Test method

Description

Tests whether a set function is cardinal, i.e., if its values depend only on the cardinality of subsets. The set function can be given either under the form of an object of class set.func, card.set.func or Mobius.set.func.

Arguments

Methods

object = "Mobius.set.func"

Returns an object of class logical.

object = "card.set.func"

Returns an object of class logical.

object = "set.func"

Returns an object of class logical.

Examples

Run this code
is.cardinal(set.func(-7:8))
is.cardinal(uniform.capacity(8))
is.cardinal(Mobius.game(0:10,4,2))

Run the code above in your browser using DataLab