Provides basic ggplot2 graph with the following data on it :
- lex
the total life expectancy (black dotted)
- lex_male
the male life expectancy (blue)
- ley_female
the male life expectancy (red)
Usage
gph_hc_lexgram(country, men = "blue", women = "red", all = "black")
Arguments
- country
A string with the country name
- men
Color for men line
- women
Color for women line
- all
Color for average line
Examples
gph_hc_lexgram("Switzerland")