Package index

vital()
 Create a vital object

as_vital()
 Coerce to a vital object

vital_vars()
 Return vital variables

read_hmd()
 Read data directly from HMD and construct a
vital
object for use in other functions

read_hmd_files()
 Read data from files downloaded from HMD and construct a
vital
object for use in other functions

read_hfd()
 Read data directly from HFD and construct a
vital
object for use in other functions

read_hfd_files()
 Read data from files downloaded from HFD and construct a
vital
object for use in other functions

net_migration()
 Calculate net migration from a vital object

aus_mortality
 Australian mortality data

aus_fertility
 Australian fertility data

norway_births
norway_fertility
norway_mortality
 Norwegian mortality and births data

collapse_ages()
 Collapse upper ages into a single age group. Counts are summed while rates are recomputed where possible.

life_table()
 Compute period life tables from agespecific mortality rates

life_expectancy()
 Compute life expectancy from agespecific mortality rates

total_fertility_rate()
 Compute total fertility rate from agespecific fertility rates

smooth_spline()
smooth_mortality()
smooth_fertility()
smooth_loess()
 Functions to smooth demographic data

model(<vital>)
 Estimate models for vital data

FDM()
 Functional data model

FMEAN()
 Functional mean model

FNAIVE()
 Functional naive model

LC()
 LeeCarter model

make_pr()
 Do a product/ratio transformation

make_sd()
 Do a sum/difference transformation

undo_pr()
 Undo a product/ratio transformation

undo_sd()
 Undo a mean/difference transformation

forecast(<FDM>)
forecast(<LC>)
forecast(<FMEAN>)
forecast(<FNAIVE>)
forecast(<mdl_vtl_df>)
 Produce forecasts from a vital model

generate(<mdl_vtl_df>)
 Generate responses from a mable

interpolate(<mdl_vtl_df>)
 Interpolate missing values using a vital model

age_components()
 Extract age components from a model

time_components()
 Extract time components from a model

autoplot(<mdl_vtl_df>)
 Plot output from a vital model

autoplot(<fbl_vtl_ts>)
 Plot forecasts from a vital model

autoplot(<vital>)
 Rainbow plot of demographic data against age