Fit flexible and fully parametric hazard regression models to survival data with single event type or multiple competing causes via logistic and multinomial regression. Our formulation allows for arbitrary functional forms of time and its interactions with other predictors for timedependent hazards and hazard ratios. From the fitted hazard model, we provide functions to readily calculate and plot cumulative incidence and survival curves for a given covariate profile. This approach accommodates any loglinear hazard function of prognostic time, treatment, and covariates, and readily allows for nonproportionality. We also provide a plot method for visualizing incidence density via population time plots. Based on the casebase sampling approach of Hanley and Miettinen (2009) <DOI:10.2202/15574679.1125>, Saarela and Arjas (2015) <DOI:10.1111/sjos.12125>, and Saarela (2015) <DOI:10.1007/s109850159352x>.
Package details 


Author  Sahir Bhatnagar [aut, cre] (http://sahirbhatnagar.com/), Maxime Turgeon [aut] (<https://orcid.org/0000000348636035>), Jesse Islam [aut] (https://www.jesseislam.com/), Olli Saarela [aut] (http://individual.utoronto.ca/osaarela/), James Hanley [aut] (http://www.medicine.mcgill.ca/epidemiology/hanley/) 
Maintainer  Sahir Bhatnagar <sahir.bhatnagar@gmail.com> 
License  MIT + file LICENSE 
Version  0.9.1 
URL  http://sahirbhatnagar.com/casebase/ 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.