Package: decompositionLE 1.0.0

Victor Yu

decompositionLE: Provides Easy Methods to Perform Life Expectancy Decomposition

Provides an easy to use implementation of life expectancy decomposition formulas for age bands, derived from Ponnapalli, K. (2005). A comparison of different methods for decomposition of changes in expectation of life at birth and differentials in life expectancy at birth. Demographic Research, 12, pp.141–172. <doi:10.4054/demres.2005.12.7> In addition, there is a decomposition function for disease cause breakdown and a couple helpful plot functions.

Authors:Victor Yu [aut, cre, cph], Will Yuill [ctb], Emily Dickson [ctb]

decompositionLE_1.0.0.tar.gz
decompositionLE_1.0.0.zip(r-4.7)decompositionLE_1.0.0.zip(r-4.6)decompositionLE_1.0.0.zip(r-4.5)
decompositionLE_1.0.0.tgz(r-4.6-any)decompositionLE_1.0.0.tgz(r-4.5-any)
decompositionLE_1.0.0.tar.gz(r-4.7-any)decompositionLE_1.0.0.tar.gz(r-4.6-any)
decompositionLE_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
decompositionLE/json (API)

# Install 'decompositionLE' in R:
install.packages('decompositionLE', repos = c('https://herts-phei.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/herts-phei/decompositionle/issues

Datasets:
  • india_china_males_1990 - Age and Cause Decomposition of Difference in Life Expectancies at Birth, India and China, males, 1990
  • us_females - Life table values for United States, Females, 1935 and 1995

On CRAN:

Conda:

4.20 score 2 stars 120 downloads 4 exports 29 dependencies

Last updated from:795d77e1db. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
source / vignettesOK170
linux-release-x86_64OK133
macos-release-arm64OK124
macos-oldrel-arm64OK81
windows-develOK132
windows-releaseOK102
windows-oldrelOK96
wasm-releaseOK112

Exports:decomp_agedecomp_diseaseplot_ageplot_disease

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr