Transform data to Piecewise Exponential Data (PED) formatFunctions to transform data sets in different formats to PED format, suitable to be fit as PAMMs. 


Transform data to Piecewise Exponential Data (PED) 

PED helper functionsFunctions that help extract (intervalspecific) summary information from PED and create newdata, e.g., for prediction and plotting. 

Create start/end times and interval information 

Extract interval information and median/modus values for covariates 

Construct a data frame suitable for prediction 

Information on intervals in which times fall 

Extract information from PAMMsFunctions that help extract information from fitted model objects, e.g., smooth effects for plotting 

Extract fixed coefficient table from model object 

Extract 1d smooth objects in tidy data format. 

Extract 2d smooth objects in tidy format. 

Extract random effects in tidy data format. 

Extract cumulative coefficients (cumulative hazard differences) 

Transform crps object to data.frame 

S3 method for pamm objects for compatibility with package pec 

Augment functionsFunctions that augment a data set by different quantaties like the hazard rate. 

Embeds the data set with the specified (relative) term contribution 

Add predicted (cumulative) hazard to data set 

Add survival probability estimates 

Add cumulative incidence function to data 

Convenience functions for visualization of model outputs.Functions that facilitate effect plots (smooth effects, etc.) 

Forrest plot of fixed coefficients 

Plot smooth 1d terms of gam objects 

Plot tensor product effects 

Plot Normal QQ plots for random effects 

Plot 1D (smooth) effects 

Visualize effect estimates for specific covariate combinations 

Plot LagLead windows 

Calculate (or plot) cumulative effect for all timepoints of the followup 

(Cumulative) (Step) Hazard Plots. 

Step ribbon plots. 

Extract plot information for all special model terms 

Data setsData sets contained in 

Stomach area tumor data 

Survival data of critically ill ICU patients 

Timedependent covariates of the 

Time until staphylococcus aureaus infection in children, with possible recurrence 

Simulated data with cumulative effects 

UtilitiesUtility functions 

Generate a sequence over the range of a vector 

Simulate survival times from the piecewise exponential distribution 

Construct or extract data that represents a laglead window 

Add timedependent covariate to a data set 

pammtools: Piecewise exponential Additive Mixed Modeling tools. 

Extract the partial effects of nonlinear model terms 