APCtools: Routines for Descriptive and Model-Based APC Analysis

Age-Period-Cohort (APC) analyses are used to differentiate relevant drivers for long-term developments. The 'APCtools' package offers visualization techniques and general routines to simplify the workflow of an APC analysis. Sophisticated functions are available both for descriptive and regression model-based analyses. For the former, we use density (or ridgeline) matrices and (hexagonally binned) heatmaps as innovative visualization techniques building on the concept of Lexis diagrams. Model-based analyses build on the separation of the temporal dimensions based on generalized additive models, where a tensor product interaction surface (usually between age and period) is utilized to represent the third dimension (usually cohort) on its diagonal. Such tensor product surfaces can also be estimated while accounting for further covariates in the regression model. See Weigert et al. (2021) <doi:10.1177/1354816620987198> for methodological details.

Package details

AuthorAlexander Bauer [aut, cre] (ORCID: <https://orcid.org/0000-0003-3495-5131>), Maximilian Weigert [aut] (ORCID: <https://orcid.org/0000-0003-4400-134X>), Hawre Jalal [aut] (ORCID: <https://orcid.org/0000-0002-8224-6834>)
MaintainerAlexander Bauer <baueralexander@posteo.de>
LicenseMIT + file LICENSE
Version1.0.8
URL https://bauer-alex.github.io/APCtools/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("APCtools")

Try the APCtools package in your browser

Any scripts or data that you put into this service are public.

APCtools documentation built on June 19, 2025, 1:08 a.m.