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

505

Last 30 days

7839th

1.5K

Last 90 days

5.9K

Last year

Trend: +7.7% (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 (3 non-OK)
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

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 12, 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
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 11, 2026
ERROR r-devel-linux-x86_64-fedora-gcc

whether package can be installed

Installation failed.
See ‘/data/gannet/ripley/R/packages/tests-devel/APCtools.Rcheck/00install.out’ for details.
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
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 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 10, 2026
updated 1.0.8 ← 1.0.4 diff Jun 17, 2025
updated 1.0.4 ← 1.0.1 diff Jan 13, 2023
updated 1.0.1 ← 1.0.0 diff Jan 10, 2022
new 1.0.0 Jan 4, 2022