Piece-Wise Exponential Additive Mixed Modeling Tools for Survival Analysis

The Piece-wise exponential (Additive Mixed) Model (PAMM; Bender and others (2018) ) 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.


R-CMD-check cranchecks lifecycle codecov.io CRAN_Status_Badge CRAN_Download_Badge MITlicense

pammtools: Piece-Wise Exponential Additive Mixed Modeling Tools

Installation

Install from CRAN or GitHub using:

# CRAN
install.packages("pammtools")
# Development version
remotes::install_github("adibender/pammtools")

Overview

pammtools facilitates the estimation of Piece-wise exponential Additive Mixed Models (PAMMs) for time-to-event data. PAMMs can be represented as generalized additive models and can therefore be estimated using GAM software (e.g. mgcv), which, compared to other packages for survival analysis, often offers more flexibility w.r.t. to the specification of covariate effects (e.g. non-linear, time-varying effects, cumulative effects, etc.). The package supports single-event analysis, left-truncation, recurrent events, competing risks and multi-state models.

To get started, see the Articles section.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("pammtools")

0.8.1 by Andreas Bender, 2 months ago


https://adibender.github.io/pammtools/


Report a bug at https://github.com/adibender/pammtools/issues


Browse source code at https://github.com/cran/pammtools


Authors: Andreas Bender [aut, cre] (ORCID: , Fabian Scheipl [aut] , Johannes Piller [aut] , Philipp Kopper [aut] , Lukas Burk [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports mgcv, survival, checkmate, magrittr, rlang, tidyr, ggplot2, dplyr, purrr, tibble, lazyeval, Formula, mvtnorm, pec, vctrs, scam

Suggests testthat, mstate, broom, etm, xgboost


Imported by KMunicate, autoReg, relsurv, robber.

Suggested by adjustedCurves, contsurvplot, weightedsurv.


See at CRAN