powered by
drawProportionalNucleolus draws the proportional nucleolus for 3 or 4 players.
drawProportionalNucleolus( v, holdOn = FALSE, colour = NA, label = TRUE, name = "Proportional Nucleolus" )
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players
draws in a existing plot
draws the geometric object (i.e. point or convex polyhedron) with this colour, all colour names can be seen with "colors()"
activates the labels for the figure
set a name for the label
None.
Young H. P., Okada N. and Hashimoto, T. (1982) "Cost allocation in water resources development", Water resources research 18(3), pp. 463--475
# NOT RUN { library(CoopGame) v<-c(0,0,0,48,60,72,140) drawProportionalNucleolus(v) # }
Run the code above in your browser using DataLab