Learn R Programming

GameTheory (version 2.7.1)

AllRules: 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 pct=1, the output is given in percentage

r

Decimals of the table

Author

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

Run this code

## 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

Run the code above in your browser using DataLab