AllRules: All conflicting claims rules simultaneously

Description Usage Arguments Note Author(s) References Examples

View source: R/AllRules.R

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

1
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

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

1
2
3
4
5
6
7
8
9
## 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

GameTheory documentation built on May 19, 2017, 1:46 p.m.

Search within the GameTheory package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.