Code and materials to reproduce graphics in "A generalized additive model approach to time-to-event analysis"