Package: actLifer 1.0.0.9000
actLifer: Creating Actuarial Life Tables
Contains data and functions that can be used to make actuarial life tables. Each function adds a column to the inputted dataset for each intermediate calculation between mortality rate and life expectancy. Users can run any of our functions to complete the life table until that step, or run lifetable() to output a full life table that can be customized to remove optional columns. Methods for creating lifetables are as described in Zedstatistics (2021) <https://www.youtube.com/watch?v=Dfe59glNXAQ>.
Authors:
actLifer_1.0.0.9000.tar.gz
actLifer_1.0.0.9000.zip(r-4.5)actLifer_1.0.0.9000.zip(r-4.4)actLifer_1.0.0.9000.zip(r-4.3)
actLifer_1.0.0.9000.tgz(r-4.4-any)actLifer_1.0.0.9000.tgz(r-4.3-any)
actLifer_1.0.0.9000.tar.gz(r-4.5-noble)actLifer_1.0.0.9000.tar.gz(r-4.4-noble)
actLifer_1.0.0.9000.tgz(r-4.4-emscripten)actLifer_1.0.0.9000.tgz(r-4.3-emscripten)
actLifer.pdf |actLifer.html✨
actLifer/json (API)
NEWS
# Install 'actLifer' in R: |
install.packages('actLifer', repos = c('https://g-rade.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/g-rade/actlifer/issues
- mortality - A sample mortality data
- mortality2 - A sample mortality data
- mortality3 - A sample mortality data
Last updated 12 months agofrom:3f8624300e. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 15 2024 |
R-4.5-win | OK | Oct 15 2024 |
R-4.5-linux | OK | Oct 15 2024 |
R-4.4-win | OK | Oct 15 2024 |
R-4.4-mac | OK | Oct 15 2024 |
R-4.3-win | OK | Oct 15 2024 |
R-4.3-mac | OK | Oct 15 2024 |
Exports:central_death_rateconditional_death_probconditional_life_problife_expectancylifetablenumber_to_surviveperson_yearsprop_to_survivetotal_years_lived
Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Central Death Rate | central_death_rate |
Conditional Probability of Death at Age x | conditional_death_prob |
Conditional Probability of Survival at Age x | conditional_life_prob |
Error Handling Function | input_check |
Life Expectancy of Age x | life_expectancy |
Lifetable Function | lifetable |
A sample mortality data | mortality |
A sample mortality data | mortality2 |
A sample mortality data | mortality3 |
The Number of People to Survive to Age x | number_to_survive |
Person Years Lived at Age x | person_years |
Proportion to Survive to Age x | prop_to_survive |
Total Years Lived From Age x | total_years_lived |