stat_lorenz_generalized {gglorenz} | R Documentation |
Values of Generalized Lorenz Curve
Description
Provides generalized Lorenz curve values for line plots
Usage
stat_lorenz_generalized(
mapping = NULL,
data = NULL,
geom = "path",
position = "identity",
...,
show.legend = NA,
inherit.aes = TRUE
)
Arguments
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
which geom to use; defaults to " |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
Other arguments passed on to |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
References
Examples
library(gglorenz)
ggplot(billionaires, aes(TNW)) +
stat_lorenz_generalized()