Skip to content

pammtools

Piece-Wise Exponential Additive Mixed Modeling Tools for Survival Analysis

v0.7.4 · Feb 16, 2026 · MIT + file LICENSE

Description

The Piece-wise exponential (Additive Mixed) Model (PAMM; Bender and others (2018) <doi: 10.1177/1471082X17748083>) is a powerful model class for the analysis of survival (or time-to-event) data, based on Generalized Additive (Mixed) Models (GA(M)Ms). It offers intuitive specification and robust estimation of complex survival models with stratified baseline hazards, random effects, time-varying effects, time-dependent covariates and cumulative effects (Bender and others (2019)), as well as support for left-truncated data as well as competing risks, recurrent events and multi-state settings. pammtools provides tidy workflow for survival analysis with PAMMs, including data simulation, transformation and other functions for data preprocessing and model post-processing as well as visualization.

Downloads

5.4K

Last 30 days

1676th

17.2K

Last 90 days

65.9K

Last year

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

CRAN Check Status

14 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 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 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 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (7)

Dependency Network

Dependencies Reverse dependencies mgcv survival checkmate magrittr rlang tidyr ggplot2 dplyr purrr (>= 0.2.3) tibble lazyeval Formula mvtnorm pec vctrs (>= 0.3.0) +1 more dependencies KMunicate autoReg relsurv robber adjustedCurves contsurvplot weightedsurv pammtools

Version History

new 0.7.4 Mar 10, 2026
updated 0.7.4 ← 0.7.3 diff Feb 15, 2026
updated 0.7.3 ← 0.5.93 diff Mar 23, 2025
updated 0.5.93 ← 0.5.92 diff Feb 24, 2024
updated 0.5.92 ← 0.5.91 diff Jul 12, 2023
updated 0.5.91 ← 0.5.8 diff Mar 23, 2023
updated 0.5.8 ← 0.5.7 diff Jan 8, 2022
updated 0.5.7 ← 0.5.6 diff Jun 20, 2021
updated 0.5.6 ← 0.5.4 diff Mar 28, 2021
updated 0.5.4 ← 0.2.4 diff Dec 17, 2020
updated 0.2.4 ← 0.2.3 diff Jun 5, 2020
updated 0.2.3 ← 0.2.2 diff May 26, 2020
updated 0.2.2 ← 0.2.1 diff Mar 11, 2020
updated 0.2.1 ← 0.1.14 diff Feb 8, 2020
updated 0.1.14 ← 0.1.11 diff Sep 7, 2019
updated 0.1.11 ← 0.1.9 diff Apr 17, 2019
updated 0.1.9 ← 0.1.8 diff Mar 13, 2019
updated 0.1.8 ← 0.1.7 diff Jan 1, 2019
new 0.1.7 Nov 15, 2018