Package: socialranking 1.2.0
Felix Fritz
socialranking: Social Ranking Solutions for Power Relations on Coalitions
The notion of power index has been widely used in literature to evaluate the influence of individual players (e.g., voters, political parties, nations, stockholders, etc.) involved in a collective decision situation like an electoral system, a parliament, a council, a management board, etc., where players may form coalitions. Traditionally this ranking is determined through numerical evaluation. More often than not however only ordinal data between coalitions is known. The package 'socialranking' offers a set of solutions to rank players based on a transitive ranking between coalitions, including through CP-Majority, ordinal Banzhaf or lexicographic excellence solution summarized by Tahar Allouche, Bruno Escoffier, Stefano Moretti and Meltem Öztürk (2020, <doi:10.24963/ijcai.2020/3>).
Authors:
socialranking_1.2.0.tar.gz
socialranking_1.2.0.zip(r-4.5)socialranking_1.2.0.zip(r-4.4)socialranking_1.2.0.zip(r-4.3)
socialranking_1.2.0.tgz(r-4.4-any)socialranking_1.2.0.tgz(r-4.3-any)
socialranking_1.2.0.tar.gz(r-4.5-noble)socialranking_1.2.0.tar.gz(r-4.4-noble)
socialranking_1.2.0.tgz(r-4.4-emscripten)socialranking_1.2.0.tgz(r-4.3-emscripten)
socialranking.pdf |socialranking.html✨
socialranking/json (API)
NEWS
# Install 'socialranking' in R: |
install.packages('socialranking', repos = c('https://jassler.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jassler/socialranking/issues
Last updated 6 months agofrom:955a4c1a48. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 20 2024 |
R-4.5-win | OK | Nov 20 2024 |
R-4.5-linux | OK | Nov 20 2024 |
R-4.4-win | NOTE | Nov 20 2024 |
R-4.4-mac | NOTE | Nov 20 2024 |
R-4.3-win | NOTE | Nov 20 2024 |
R-4.3-mac | NOTE | Nov 20 2024 |
Exports:%:%%>=banz%%>=cop%%>=cp%%>=cumuldom%%>=dom%%>=duallex%%>=ks%%>=L1%%>=L2%%>=lex%%>=LP%%>=LPS%%>banz%%>cop%%>cp%%>cumuldom%%>dom%%>duallex%%>ks%%>L1%%>L2%%>lex%%>LP%%>LPS%appendMissingCoalitionsas.PowerRelationcoalitionLookupcoalitionsAreIndifferentcopelandRankingcopelandScorescpMajorityComparisoncpMajorityComparisonScorecreatePowersetcumulativelyDominatescumulativeScoresdominatesdoRankingdualLexcelRankingelementLookupequivalenceClassIndexgenerateNextPartitiongenerateRandomPowerRelationis.PowerRelationkramerSimpsonRankingkramerSimpsonScoresL1RankingL1ScoresL2RankingL2Scoreslexcel1Rankinglexcel1Scoreslexcel2Rankinglexcel2ScoreslexcelPRankinglexcelPScoreslexcelPSRankinglexcelPSScoreslexcelRankinglexcelScoresLPRankingLPScoresLPSRankingLPSScoresmakePowerRelationMonotonicnewPowerRelationnewPowerRelationFromStringordinalBanzhafRankingordinalBanzhafScoresPowerRelationpowerRelationGeneratorpowerRelationMatrixSocialRankingtestRelationtransitiveClosure
socialranking: A package for evaluating ordinal power relations in cooperative game theory
Rendered fromsocialranking_pdf.Rmd
usingknitr::rmarkdown
on Nov 20 2024.Last update: 2024-05-16
Started: 2022-10-26
socialranking: A package for evaluating ordinal power relations in cooperative game theory
Rendered fromsocialranking.Rmd
usingknitr::rmarkdown
on Nov 20 2024.Last update: 2024-05-16
Started: 2022-03-28
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Append missing coalitions | appendMissingCoalitions |
Create PowerRelation object | as.PowerRelation as.PowerRelation.character as.PowerRelation.list |
Are coalitions indifferent | coalitionsAreIndifferent |
Copeland-like method | copelandRanking copelandScores |
CP-Majority relation | cpMajorityComparison cpMajorityComparisonScore |
Create powerset | createPowerset |
Cumulative scores | cumulativelyDominates cumulativeScores |
Dominance | dominates |
Create a 'SocialRanking' object | doRanking |
Element lookup | elementLookup |
Get index of equivalence class containing a coalition | coalitionLookup equivalenceClassIndex |
Kramer-Simpson-like method | kramerSimpsonRanking kramerSimpsonScores |
L1 Ranking | L1Ranking L1Scores lexcel1Ranking lexcel1Scores |
L2 Ranking | L2Ranking L2Scores lexcel2Ranking lexcel2Scores |
Lexicographical Excellence | dualLexcelRanking lexcelRanking lexcelScores |
LP Ranking | lexcelPRanking lexcelPScores LPRanking LPScores |
LP* Ranking | lexcelPSRanking lexcelPSScores LPSRanking LPSScores |
Make Power Relation monotonic | makePowerRelationMonotonic |
New Power Relation | newPowerRelation |
New 'PowerRelation' object | newPowerRelationFromString |
Ordinal Banzhaf ranking | ordinalBanzhafRanking ordinalBanzhafScores |
PowerRelation object | is.PowerRelation PowerRelation print.PowerRelation |
Generate power relations | generateNextPartition generateRandomPowerRelation powerRelationGenerator |
Create relation matrix | as.relation.PowerRelation powerRelationMatrix |
'SocialRanking' object | SocialRanking |
Test relation between two elements | %:% %>=banz% %>=cop% %>=cp% %>=cumuldom% %>=dom% %>=duallex% %>=ks% %>=L1% %>=L2% %>=lex% %>=LP% %>=LPS% %>banz% %>cop% %>cp% %>cumuldom% %>dom% %>duallex% %>ks% %>L1% %>L2% %>lex% %>LP% %>LPS% testRelation |
Transitive Closure | transitiveClosure |