R: Tidy Analysis Tools for Mortality, Fertility, Migration and Population Data

# Tidy Analysis Tools for Mortality, Fertility, Migration and Population Data

## Documentation for package ‘vital’ version 2.0.3

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

age_components | Extract age components from a model
APC | Generalized APC stochastic mortality model
as_vital | Coerce to a vital object
as_vital.data.frame | Coerce to a vital object
as_vital.demogdata | Coerce to a vital object
as_vital.tbl_ts | Coerce to a vital object
autoplot.fbl_vtl_ts | Plot forecasts from a vital model
autoplot.mdl_vtl_df | Plot output from a vital model
autoplot.vital | Rainbow plot of demographic data against age
CBD | Generalized APC stochastic mortality model
cohort_components | Extract cohort components from a model
collapse_ages | Collapse upper ages into a single age group. Counts are summed while rates are recomputed where possible.
FDM | Functional data model
FMEAN | Functional mean model
FNAIVE | Functional naive model
forecast.FDM | Produce forecasts from a vital model
forecast.FMEAN | Produce forecasts from a vital model
forecast.FNAIVE | Produce forecasts from a vital model
forecast.GAPC | Produce forecasts from a vital model
forecast.LC | Produce forecasts from a vital model
forecast.mdl_vtl_df | Produce forecasts from a vital model
GAPC | Generalized APC stochastic mortality model
generate.mdl_vtl_df | Generate responses from a mable
generate_population | Future population simulation
interpolate.mdl_vtl_df | Interpolate missing values using a vital model
LC | Lee-Carter model
LC2 | Generalized APC stochastic mortality model
life_expectancy | Compute life expectancy from age-specific mortality rates
life_table | Compute period life tables from age-specific mortality rates
M7 | Generalized APC stochastic mortality model
make_pr | Do a product/ratio transformation
make_sd | Do a sum/difference transformation
model.vital | Estimate models for vital data
net_migration | Calculate net migration from a vital object
norway_births | Norwegian mortality and births data
norway_fertility | Norwegian mortality and births data
norway_mortality | Norwegian mortality and births data
PLAT | Generalized APC stochastic mortality model
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
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_ktdb | Read old-age mortality from Kannisto-Thatcher (K-T) database and construct a 'vital' object for use in other functions
read_ktdb_files | Read old-age mortality data from files downloaded from K-T database
read_stmf | Read Short-Term Mortality Fluctuations data from the Human Mortality Database
read_stmf_files | Read STMF data from files downloaded from HMD
report.FDM | Functional data model
report.FMEAN | Functional mean model
report.FNAIVE | Functional naive model
report.GAPC | Generalized APC stochastic mortality model
report.LC | Lee-Carter model
RH | Generalized APC stochastic mortality model
smooth_fertility | Functions to smooth demographic data
smooth_loess | Functions to smooth demographic data
smooth_mortality | Functions to smooth demographic data
smooth_mortality_law | Function to smooth mortality rates using MortalityLaw package
smooth_spline | Functions to smooth demographic data
time_components | Extract time components from a model
total_fertility_rate | Compute total fertility rate from age-specific fertility rates
undo_pr | Undo a product/ratio transformation
undo_sd | Undo a mean/difference transformation
vital | Create a vital object
vital_vars | Return vital variables