verticalruleplot {ClaimsProblems} | R Documentation |
Vertical rule plot
Description
For each claimant, it plots a vertical line with his claim and a point on the awards vector of the chosen rules.
Usage
verticalruleplot(E, d, Rules, col = NULL, legend = TRUE)
Arguments
E |
The endowment. |
d |
The vector of claims |
Rules |
The rules: AA, APRO, CE, CEA, CEL, AV, DT, MO, PIN, PRO, RA, Talmud, or RTalmud. |
col |
The colours. If |
legend |
A logical value. The colour legend is shown if |
Details
Let N=\{1,\ldots,n\}
be the set of claimants, E\ge 0
the endowment to be divided and d\in \mathbb{R}_+^N
the vector of claims
such that \sum_{i \in N} d_i\ge E
.
A vector x=(x_1,\dots,x_n)
is an awards vector for the claims problem (E,d)
if 0\le x \le d
and satisfies the balance requirement, that is, \sum_{i=1}^{n}x_i=E
.
A rule is a function that assigns to each claims problem (E,d)
an awards vector,
that is, a division between the claimants of the amount available.
The formal definitions of the main rules are given in the corresponding function help.
Value
This function represents the claims vector and the awards vector assigned by several rules as vertical segments.
References
Thomson, W. (2019). How to divide when there isn't enough. From Aristotle, the Talmud, and Maimonides to the axiomatics of resource allocation. Cambridge University Press.
See Also
allrules, pathawards, pathawards3, schedrule, schedrules.
Examples
E=10
d=c(2,4,7,8)
Rules=c(Talmud,RA,AA)
col=c("red","green","blue")
verticalruleplot(E,d,Rules,col)