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.7-any)socialranking_1.2.0.zip(r-4.6-any)socialranking_1.2.0.zip(r-4.5-any)
socialranking_1.2.0.tgz(r-4.6-any)socialranking_1.2.0.tgz(r-4.5-any)
socialranking_1.2.0.tar.gz(r-4.7-any)socialranking_1.2.0.tar.gz(r-4.6-any)
socialranking_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
socialranking/json (API)
| # 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 from:db271fe7a9. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 118 | ||
| source / vignettes | OK | 171 | ||
| linux-release | OK | 124 | ||
| macos-release | OK | 149 | ||
| macos-oldrel | OK | 200 | ||
| windows-devel | OK | 83 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 78 | ||
| wasm-release | OK | 87 |
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
Last update: 2024-05-16
Started: 2022-10-26
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 |