Skip to contents

Nonparametric estimation and visualization

cifcurve()
Calculate the Kaplan-Meier estimator and the Aalen-Johansen estimator
cifplot()
Generate a survival/CIF curve with marks that represent censoring, competing risks and intercurrent events
cifpanel()
Arrange multiple survival/CIF plots in a panel display

Direct polytomous regression

polyreg()
Fit coherent regression models of CIFs using polytomous log odds products
coef(<polyreg>) vcov(<polyreg>) nobs(<polyreg>) summary(<polyreg>) print(<summary.polyreg>) effect_label.polyreg() tidy(<polyreg>) glance(<polyreg>) augment(<polyreg>)
Methods for polyreg objects

Data

diabetes.complications
Data from a cohort study of patients with type 2 diabetes
prostate
Data from a prostate cancer trial in Byer & Green (1980)

Helpers

extract_time_to_event()
Extract per-stratum event times from a formula and data
Event()
Create a survival or competing-risks response