Description Usage Arguments Value Author(s) References Examples
View source: R/CentroidCoreConcept.R
drawCentroidCore draws the centroid of the core for 3 or 4 players.
1 2 3 4 5 6 7 | drawCentroidCore(
v,
holdOn = FALSE,
colour = NA,
label = TRUE,
name = "centroid of core"
)
|
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
Gillies D.B. (1953) Some Theorems on n-person Games, Ph.D. Thesis, Princeton University Press.
Aumann R.J. (1961) "The core of a cooperative game without side payments", Transactions of the American Mathematical Society 98(3), pp. 539–552
Peleg B. and Sudhoelter P. (2007) Theory of cooperative games, 2nd Edition, Springer, pp. 27–49
Maschler M., Solan E. and Zamir S. (2013) Game Theory, Cambridge University Press, pp. 686–747
Osborne M.J. and Rubinstein A. (1994) A Course in Game Theory, MIT Press, pp. 257–275
1 2 3 | library(CoopGame)
v <-c(1,2,3,60,60,60,142)
drawCentroidCore(v,colour="green")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.