Skip to content

APCtools

Routines for Descriptive and Model-Based APC Analysis

v1.0.8 · Jun 18, 2025 · MIT + file LICENSE

Description

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.

Downloads

457

Last 30 days

7793rd

1K

Last 90 days

1K

Last year

Trend: -18% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   5.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   5.3Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   5.3Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   5.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   5.3Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    doc   5.3Mb

Dependency Network

Dependencies Reverse dependencies ggpubr checkmate knitr ggplot2 colorspace dplyr mgcv scales tidyr stringr APCtools

Version History

new 1.0.8 Mar 9, 2026