Description Usage Arguments Details Value Examples
Select from a lifetable dataset by year and state.
1 | select_lifetable(df, year = 2013, loc = "AU")
|
df |
a data.frame such as abs_lt supplied by this package. |
year |
integer year specifying the first year of the lifetable, interpretation depends on dataset, i.e.
|
loc |
abbreviation of location to retrieve, default value is 'AU' for the national life-table, other valid values depend on the dataset,
|
Performs a simple filter and select to extract lifetable data by year and location code (e.g. state).
data.frame of lifetable in a long format: age, sex, measurement type (e.g. 'lx', 'qx' etc.) and the value.
1 | select_lifetable(abs_lt, 2010, 'QLD')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.