Package: poputils 0.6.1

John Bryant

poputils: Demographic Analysis and Data Manipulation

Perform tasks commonly encountered when preparing and analysing demographic data. Some functions are intended for end users, and others for developers. Includes functions for working with life tables.

Authors:John Bryant [aut, cre], Bayesian Demography Limited [cph]

poputils_0.6.1.tar.gz
poputils_0.6.1.zip(r-4.7)poputils_0.6.1.zip(r-4.6)poputils_0.6.1.zip(r-4.5)
poputils_0.6.1.tgz(r-4.6-x86_64)poputils_0.6.1.tgz(r-4.6-arm64)poputils_0.6.1.tgz(r-4.5-x86_64)poputils_0.6.1.tgz(r-4.5-arm64)
poputils_0.6.1.tar.gz(r-4.7-arm64)poputils_0.6.1.tar.gz(r-4.7-x86_64)poputils_0.6.1.tar.gz(r-4.6-arm64)poputils_0.6.1.tar.gz(r-4.6-x86_64)
poputils_0.6.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
poputils/json (API)
NEWS

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

Bug tracker:https://github.com/bayesiandemography/poputils/issues

Pkgdown/docs site:https://bayesiandemography.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

5.53 score 1 packages 56 scripts 171 downloads 34 exports 17 dependencies

Last updated from:a73faa5c2b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK154
linux-devel-x86_64OK157
source / vignettesOK201
linux-release-arm64OK142
linux-release-x86_64OK158
macos-release-arm64OK130
macos-release-x86_64OK222
macos-oldrel-arm64OK110
macos-oldrel-x86_64OK234
windows-develOK129
windows-releaseOK130
windows-oldrelOK118
wasm-releaseOK115

Exports:.intrinsic_growth_rateage_group_typeage_labelsage_lowerage_midage_uppercheck_agecheck_equal_lengthcheck_ncheck_no_overlap_colnumscombine_agee0_to_lifetab_logitex_to_lifetab_brassfind_label_femalefind_label_malefind_var_agefind_var_sexgenderfind_var_timegroups_colnumsinvlogitlifeexplifetablogitmatrix_to_list_of_colsmatrix_to_list_of_rowsq0_to_m0reformat_agereformat_sexrr3set_age_opentfrtfr_to_asfr_scaleto_matrixtrim_01

Dependencies:clicpp11gluelatticelifecyclemagrittrMatrixmatrixStatspillarpkgconfigrlangrvectibbletidyselectutf8vctrswithr

poputils

Rendered frompoputils.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-01-15
Started: 2023-09-24

Readme and manuals

Help Manual

Help pageTopics
Calculate Intrinsic Growth Rate.intrinsic_growth_rate
Infer Age Label Typeage_group_type
Create Age Labelsage_labels
Lower Limits, Midpoints, and Upper Limits of Age Groupsage_lower age_mid age_upper
Booth Standardbooth_standard
Validity Checks for Age Labelscheck_age
Check that Arguments have Same Lengthcheck_equal_length
Check Whole Numbercheck_n
Check that Colnum Vectors do not Overlapcheck_no_overlap_colnums
Aggregate Age Group Labelscombine_age
Derive Life Tables that Match Life Expectancies, using a Brass Logit Modele0_to_lifetab_logit
Derive Life Tables that Match Life Expectancies, using a Brass Logit Modelex_to_lifetab_brass
Identify Sex or Gender Labels Referring to Femalesfind_label_female
Identify Sex or Gender Labels Referring to Malesfind_label_male
Identify an Age Variablefind_var_age
Identify a Sex or Gender Variablefind_var_sexgender
Identify a Time Variablefind_var_time
Get a named vector of column indices for the grouping variables in a grouped data framegroups_colnums
Age-Specific Fertility Rates in Iranirn_fert
Calculate Life Tables or Life Expectancieslifeexp lifetab
Logit and Inverse-Logit Functionsinvlogit logit
Turn a Matrix Into a List of Columns or Rowsmatrix_to_list_of_cols matrix_to_list_of_rows
Mortality Data for New Zealandnzl_mort
Mortality Data and Probabilistic Rates for New Zealandnzl_mort_rvec
Convert q0 to m0q0_to_m0
Reformat Age Group Labelsreformat_age
Reformat a Binary Sex Variablereformat_sex
Randomly Round A Vector of Integers to Base 3rr3
Specify Open Age Groupset_age_open
Calculate Total Fertility Ratestfr
Derive Age-Specific Fertility Rates that Match Total Fertility Rates by Scalingtfr_to_asfr_scale
Build a Matrix from Measure and ID Variablesto_matrix
Trim Values So They Are Between 0 and 1trim_01
Coale-Demeny West Model Life Tableswest_lifetab