Package: TUGLab 0.0.1

Álvaro de Prado Saborido

TUGLab: A Laboratory for TU Games

Cooperative game theory models decision-making situations in which a group of agents, called players, may achieve certain benefits by cooperating to reach an optimal outcome. It has great potential in different fields, since it offers a scenario to analyze and solve problems in which cooperation is essential to achieve a common goal. The 'TUGLab' (Transferable Utility Games Laboratory) R package contains a set of scripts that could serve as a helpful complement to the books and other materials used in courses on cooperative game theory, and also as a practical tool for researchers working in this field. The 'TUGLab' project was born in 2006 trying to highlight the geometrical aspects of the theory of cooperative games for 3 and 4 players. 'TUGlabWeb' is an online platform on which the basic functions of 'TUGLab' are implemented, and it is being used all over the world as a resource in degree, master's and doctoral programs. This package is an extension of the first versions and enables users to work with games in general (computational restrictions aside). The user can check properties of games, compute well-known games and calculate several set-valued and single-valued solutions such as the core, the Shapley value, the nucleolus or the core-center. The package also illustrates how the Shapley value flexibly adapts to various cooperative game settings, including weighted players and coalitions, a priori unions, and restricted communication structures. In keeping with the original philosophy of the first versions, special emphasis is placed on the graphical representation of the solution concepts for 3 and 4 players.

Authors:Álvaro de Prado Saborido [aut, cre], Alejandro Bernárdez Ferradás [ctb], Miguel Ángel Mirás Calvo [aut], Iago Núñez Lugilde [aut], Carmen Quinteiro Sandomingo [aut], Estela Sánchez Rodríguez [aut], MCIN/AEI/10.13039/501100011033 [fnd]

TUGLab_0.0.1.tar.gz
TUGLab_0.0.1.tar.gz(r-4.7-any)TUGLab_0.0.1.tar.gz(r-4.6-any)
TUGLab_0.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
TUGLab/json (API)
NEWS

# Install 'TUGLab' in R:
install.packages('TUGLab', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/esanchez-coder/tuglab/issues

On CRAN:

Conda:

1.00 score 132 downloads 67 exports 74 dependencies

Last updated from:3c3e2ba04d. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK167
source / vignettesOK190
linux-release-x86_64OK165
wasm-releaseOK128

Exports:additivecheckadditivegameairfieldgamebalancedcheckbalancedfamilycheckbelong2corecheckbin2lexclaimsgamecoalitionweightedshapleyvaluecodebin2lexcodelex2bincompromiseadmissiblecheckconstantsumgameconvexcheckcorecenterhitruncorecentervaluecoredimensioncoreverticescorevertices234degeneratecheckdualgamedummynullessentialcheckexcessesgetcoalitiongetcoalitionnumbergetpermutationgetpermutationnumberharsanyidividendkohlbergcriterionleastcorelex2binlorenzdominancerelationmarginalgamemarginalvectorminimalrightsvectormonotoniccheckmuseumpassgamemyersonvaluenormalizedgamenucleoluspcvaluenucleolusvalueowenvalueperfectcoregameplotcoresetplotcoresetsprenucleolusvaluesavingsgamesequencinggameshapleyvaluesolidarityvaluesolvelsstrategicallyequivalentchecksubgamesuperadditivechecksymmetrychecktailgametauvaluetotallybalancedchecktriangularupunanimitygameutopiapayoffsvectorweightedmajoritygameweightedshapleyvaluezeromonotoniccheckzeronormalizedcheckzeronormalizedgame

Dependencies:abindaskpassbase64encBHbslibcachemclicpp11crosstalkcurldata.tabledigestdplyrevaluatefarverfastmapfontawesomefsgenericsgeometryggplot2gluegtablehighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteknitrlabelinglaterlazyevallifecyclelinproglpSolvemagicmagrittrmemoisemimeopensslotelpillarpkgconfigplotlypromisespurrrR6rappdirsrcddRColorBrewerRcppRcppEigenRcppProgressrlangrmarkdownS7sassscalesstringistringrsystibbletidyrtidyselecttinytexutf8vctrsviridisLitevolestiwithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Additive checkadditivecheck
Additive gameadditivegame
Airfield gameairfieldgame
Balanced checkbalancedcheck
Balanced family checkbalancedfamilycheck
Belong to corebelong2corecheck
Binary order to lexicographic orderbin2lex
Pessimistic claims game associated with a claims problemclaimsgame
Coalition-weighted Shapley valuecoalitionweightedshapleyvalue
Binary order position to lexicographic order positioncodebin2lex
Lexicographic order position to binary order positioncodelex2bin
Compromise-admissible checkcompromiseadmissiblecheck
Constant sum gameconstantsumgame
Convex checkconvexcheck
Core-center estimation by hit-and-runcorecenterhitrun
Core-centercorecentervalue
Core dimensioncoredimension
Core verticescorevertices
Core vertices of games with two, three or four playerscorevertices234
Degenerate checkdegeneratecheck
Dual gamedualgame
Dummy and null playersdummynull
Essential checkessentialcheck
Coalition excessesexcesses
Get coalitiongetcoalition
Get coalition numbergetcoalitionnumber
Get permutationgetpermutation
Get permutation numbergetpermutationnumber
Harsanyi dividendharsanyidividend
Kohlberg criterion for the prenucleoluskohlbergcriterion
Least coreleastcore
Lexicographic order to binary orderlex2bin
Lorenz dominance relationlorenzdominancerelation
Marginal gamemarginalgame
Marginal contributions vectormarginalvector
Minimal rights vectorminimalrightsvector
Monotonic checkmonotoniccheck
Museum pass gamemuseumpassgame
Myerson valuemyersonvalue
Normalized gamenormalizedgame
Per capita nucleolusnucleoluspcvalue
Nucleolusnucleolusvalue
Owen valueowenvalue
Perfect core gameperfectcoregame
Plot core setplotcoreset
Plot multiple core setsplotcoresets
Prenucleolusprenucleolusvalue
Savings gamesavingsgame
Sequencing gamesequencinggame
Shapley valueshapleyvalue
Solidarity valuesolidarityvalue
Solve linear systemsolvels
Strategically equivalent checkstrategicallyequivalentcheck
Subgame of a coalitionsubgame
Superadditive checksuperadditivecheck
Symmetry checksymmetrycheck
Tail gametailgame
tau-valuetauvalue
Totally balanced checktotallybalancedcheck
Square upper triangulationtriangularup
Unanimity gameunanimitygame
Utopia payoffs vectorutopiapayoffsvector
Weighted majority gameweightedmajoritygame
Positively weighted Shapley valueweightedshapleyvalue
0-monotonic checkzeromonotoniccheck
0-normalized checkzeronormalizedcheck
0-normalized gamezeronormalizedgame