Description Usage Arguments Value Author(s) References Examples
View source: R/NucleolusDerivatives.R
drawPrenucleolus draws the prenucleolus for 3 or 4 players.
1 2 3 4 5 6 7 | drawPrenucleolus(
v,
holdOn = FALSE,
colour = NA,
label = TRUE,
name = "Prenucleolus"
)
|
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 |
None.
Jochen Staudacher jochen.staudacher@hs-kempten.de
Peleg B. and Sudhoelter P. (2007) Theory of cooperative games, 2nd Edition, Springer, pp. 107–132
1 2 3 4 5 6 7 8 9 10 11 | library(CoopGame)
v=c(0,0,0,1,1,0,3)
drawPrenucleolus(v)
#Visualization for estate division problem from Babylonian Talmud with E=200,
#see e.g. seminal paper by Aumann & Maschler from 1985 on
#'Game Theoretic Analysis of a Bankruptcy Problem from the Talmud'
library(CoopGame)
v<-bankruptcyGameVector(n=3,d=c(100,200,300),E=200)
drawPrenucleolus(v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.