Learn R Programming

CoopGame (version 0.2.2)

drawSimplifiedModiclus: Draw simplified modiclus for 3 or 4 players

Description

drawSimplifiedModiclus draws the simplified modiclus for 3 or 4 players.

Usage

drawSimplifiedModiclus(
  v,
  holdOn = FALSE,
  colour = NA,
  label = TRUE,
  name = "Simplified Modiclus"
)

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.

References

Tarashnina S. (2011) "The simplified modified nucleolus of a cooperative TU-game", TOP 19(1), pp. 150--166

Examples

Run this code
# NOT RUN {
library(CoopGame)
v=c(0, 0, 0, 1, 1, 0, 1)
drawSimplifiedModiclus(v)
# }

Run the code above in your browser using DataLab