Package: ageutils 0.0.7

Tim Taylor

ageutils: Collection of Functions for Working with Age Intervals

Provides a collection of efficient functions for working with individual ages and corresponding intervals. These include functions for conversion from an age to an interval, aggregation of ages with associated counts in to intervals and the splitting of interval counts based on specified age distributions.

Authors:Tim Taylor [aut, cre, cph], Edwin van Leeuwen [aut]

ageutils_0.0.7.tar.gz
ageutils_0.0.7.tar.gz(r-4.5-noble)ageutils_0.0.7.tar.gz(r-4.4-noble)
ageutils_0.0.7.tgz(r-4.4-emscripten)ageutils_0.0.7.tgz(r-4.3-emscripten)
ageutils.pdf |ageutils.html
ageutils/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/timtaylor/ageutils/issues

Pkgdown site:https://timtaylor.github.io

Datasets:
  • pop_dat - Aggregated population data

2.48 score 1 scripts 452 downloads 8 exports 11 dependencies

Last updated 20 days agofrom:7f89ff2fc5. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-linux-x86_64OKDec 06 2024

Exports:aggregate_age_countsbreaks_to_intervalcut_agesreaggregate_countsreaggregate_interval_countsreaggregate_interval_ratesreaggregate_ratessplit_interval_counts

Dependencies:clifansigluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrs

Readme and manuals

Help Manual

Help pageTopics
Convert breaks to an intervalbreaks_to_interval
Cut integer age vectorscut_ages
Aggregated population datapop_dat
Reaggregate age countsreaggregate_counts reaggregate_counts.default
Reaggregate age ratesreaggregate_rates reaggregate_rates.default