AllRules {GameTheory} | R Documentation |
All conflicting claims rules simultaneously
Description
This function runs simultaneously all conflicting claims rules available in the package. It also calculates the Gini Index to check inequality among them.
Usage
AllRules(E, C, Names = NULL, pct = 0, r = 2)
Arguments
E |
Endowment |
C |
Claims |
Names |
Labels of the agents |
pct |
Format of the results. If |
r |
Decimals of the table |
Note
In order to calculate the rule properly, input the claims of the agents in ascending order.
Author(s)
Sebastian Cano-Berlanga <cano.berlanga@gmail.com>
References
Gallastegui M, Inarra E, Prellezo R (2003). "Bankruptcy of Fishing Resources: The Northern European Anglerfish Fishery." Marine Resource Economics, 17, 291–307.
Examples
## replication of Gallastegui et al. (2003), Table 7.
CLAIMS <- c(158,299,927,2196,4348,6256,13952)
COUNTRIES <- c("Germany","Netherlands","Belgium","Ireland","UK","Spain","France")
INARRA <- AllRules(13500,CLAIMS,COUNTRIES)
summary(INARRA)
plot(INARRA,5) ## Display allocations for UK
LorenzRules(INARRA) ## Inequality graph
[Package GameTheory version 2.7.1 Index]