drawCoreCover: Draw core cover for 3 or 4 players

Description Usage Arguments Value Author(s) References Examples

View source: R/CoreCoverConcept.R

Description

drawCoreCover draws the core cover for 3 or 4 players.

Usage

1
2
3
4
5
6
7
drawCoreCover(
  v,
  holdOn = FALSE,
  colour = NA,
  label = FALSE,
  name = "Core Cover"
)

Arguments

v

Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players

holdOn

draws in a existing plot

colour

draws the geometric object (i.e. point or convex polyhedron) with this colour, all colour names can be seen with "colors()"

label

activates the labels for the figure

name

set a name for the label

Value

None.

Author(s)

Johannes Anwander anwander.johannes@gmail.com

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Tijs S.H. and Lipperts F.A.S. (1982) "The hypercube and the core cover of n-person cooperative games", Cahiers du Centre d' Etudes de Researche Operationelle 24, pp. 27–37

Branzei R., Dimitrov D. and Tijs S. (2006) Models in cooperative game theory, Springer, p. 21

Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, pp. 45–46

Examples

1
2
3
library(CoopGame)
v <- c(0,0,0,3,3,3,6)
drawCoreCover(v)

Example output

Loading required package: rgl
Loading required package: geometry
Loading required package: rcdd
If you want correct answers, use rational arithmetic.
See the Warnings sections added to help pages for
    functions that do computational geometry.

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 

CoopGame documentation built on Aug. 24, 2021, 1:07 a.m.