pathawards | R Documentation |
This function returns the graphical representation of the path of awards of any rule for a claims vector and a pair of claimants.
pathawards(d, claimants, Rule, col = "red", points = 201)
d |
The vector of claims. |
claimants |
Two claimants. |
Rule |
The rule: AA, APRO, CE, CEA, CEL, DT, MO, PIN, PRO, RA, Talmud. |
col |
The colour. |
points |
The number of values of the endowment to draw the path. |
Let d, with d≥ 0, be a vector of claims and denote D=∑ di the sum of claims.
The path of awards of a rule R for two claimants i and j is the parametric curve:
p(E)={(Ri(E,d),Rj(E,d)): 0≤ E ≤ D}.
The graphical representation of the path of awards of a rule for the given claims and a pair of claimants.
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.
pathawards3, schedrule, schedrules, verticalruleplot
d=c(2,4,7,8) claimants=c(1,2) Rule=Talmud pathawards(d,claimants,Rule) # The path of awards of the concede-and-divide rule pathawards(c(2,3),c(1,2),CD) #The path of awards of the DT rule for d=(d1,d2) with d2<2d1 pathawards(c(1,1.5),c(1,2),DT,col="blue",points=1001) #The path of awards of the DT rule for d=(d1,d2) with d2>2d1 pathawards(c(1,2.5),c(1,2),DT,col="blue",points=1001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.