AllRules | R Documentation |
This function runs simultaneously all conflicting claims rules available in the package. It also calculates the Gini Index to check inequality among them.
AllRules(E, C, Names = NULL, pct = 0, r = 2)
E |
Endowment |
C |
Claims |
Names |
Labels of the agents |
pct |
Format of the results. If |
r |
Decimals of the table |
In order to calculate the rule properly, input the claims of the agents in ascending order.
Sebastian Cano-Berlanga <cano.berlanga@gmail.com>
Gallastegui M, Inarra E, Prellezo R (2003). "Bankruptcy of Fishing Resources: The Northern European Anglerfish Fishery." Marine Resource Economics, 17, 291–307.
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.