Initial release on CRAN
This is the first release of the casebase
package on CRAN which implements the case-base sampling approach of Hanley and Miettinen (2009), Saarela and Arjas (2015), and Saarela (2015), for fitting flexible hazard regression models to survival data with single event type or multiple competing causes via logistic and multinomial regression. From the fitted hazard function, cumulative incidence, risk functions of time, treatment and profile can be derived. This approach accommodates any log-linear hazard function of prognostic time, treatment, and covariates, and readily allows for non-proportionality. We also provide a plot method for visualizing incidence density via population time plots. Comprehensive documentation is available at http://sahirbhatnagar.com/casebase/