Description Usage Arguments Value Author(s) References Examples
View source: R/CentroidWeberSetConcept.R
drawCentroidWeberset draws the centroid of the Weber set for 3 or 4 players.
1 2 3 4 5 6 7 | drawCentroidWeberSet(
v,
holdOn = FALSE,
colour = NA,
label = TRUE,
name = "centroid of Weber set"
)
|
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
Weber R.J. (1988) "Probabilistic values for games". In: Roth A.E. (Ed.), The Shapley Value. Essays in in honor of Lloyd S. Shapley, Cambridge University Press, pp. 101–119
Peters H. (2015) Game Theory: A Multi-Leveled Approach, 2nd Edition, Springer, pp. 327–329
1 2 3 | library(CoopGame)
v <-c(1,2,3,60,60,60,142)
drawCentroidWeberSet(v,colour="blue")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.