View source: R/plot.ClaimsRules.R
plot.ClaimsRules | R Documentation |
Plot results of every rule for a given player.
## S3 method for class 'ClaimsRules'
plot(x, y, ...)
x |
Object of class ClaimsRules |
y |
Agent |
... |
Other graphical parameters |
Sebastian Cano-Berlanga <cano.berlanga@gmail.com>
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.