# schedrule: Schedules of awards of a rule In ClaimsProblems: Analysis of Conflicting Claims

## Description

This function returns the graphical representation of the schedules of awards of a rule for a claims vector.

## Usage

 `1` ```schedrule(d, claimants, Rule, col = NULL, points = 201, legend = TRUE) ```

## Arguments

 `d` A vector of claims. `claimants` A subset of claimants. `Rule` The rule: AA, APRO, CE, CEA, CEL, DT, MO, PIN, PRO, RA, or Talmud. `col` The colors. If col = NULL then the sequence of default colors is chosen randomly. `points` The number of values of the endowment to draw the path. `legend` A logical value. The color legend is shown if legend = TRUE.

## Details

Let d, with d≥ 0, be a vector of claims and denote D=∑ di the sum of claims.

The schedules of awards of a rule R for claimant i is the function S that assigns to each 0≤ E ≤ D the value: S(E)=Ri(E,d). Therefore, the schedules of awards of a rule plots each claimants's award as a function of E.

## Value

The graphical representation of the schedules of awards of a rule for a claims vector and a group of claimants.

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

 ```1 2 3 4 5 6 7``` ```d=c(2,4,7,8) Rule=Talmud claimants=c(1,2,3,4) col=c("red","green","yellow","blue") schedrule(d,claimants,Rule,col) # The schedules of awards of the concede-and-divide rule. schedrule(c(2,4),c(1,2),CD) ```