plot_ex: Plot life expectancy by cohort and group

Description Usage Arguments Value

View source: R/plot_ex.R

Description

Plots life expectancy estimates and uncertainty over cohort for each group.

Usage

1
plot_ex(ex_df, ex_age, group_title)

Arguments

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"

Value

a ggplot object


MJAlexander/censoc documentation built on March 10, 2020, 10:11 a.m.