Description Usage Arguments Value
Plots life expectancy estimates and uncertainty over cohort for each group.
1 | plot_ex(ex_df, ex_age, group_title)
|
ex_df |
dataframe containing life expectancy estimates and uncertainty for each cohort, age and group |
ex_age |
age for life expectancy to be plotted. Minimum is the minimum age of estimation (default is 55). |
group_title |
string indicating the type of group being considered, e.g. "Education" |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.