CRAN/E | casebase

casebase

Fitting Flexible Smooth-in-Time Hazards and Risk Functions via Logistic and Multinomial Regression

Installation

About

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 time-dependent 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 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. Based on the case-base sampling approach of Hanley and Miettinen (2009) doi:10.2202/1557-4679.1125, Saarela and Arjas (2015) doi:10.1111/sjos.12125, and Saarela (2015) doi:10.1007/s10985-015-9352-x.

Citation casebase citation info
sahirbhatnagar.com/casebase/
Bug report File report

Key Metrics

Version 0.10.4
R ≥ 3.5.0
Published 2024-02-01 84 days ago
Needs compilation? no
License MIT
License File
CRAN checks casebase results

Downloads

Yesterday 60 -21%
Last 7 days 390 -38%
Last 30 days 1.614 +3%
Last 90 days 5.068 -33%
Last 365 days 21.163 -7%

Maintainer

Maintainer

Sahir Bhatnagar

sahir.bhatnagar@gmail.com

Authors

Sahir Bhatnagar

aut / cre

(https://sahirbhatnagar.com/)

Maxime Turgeon

aut

(https://www.maxturgeon.ca/)

Jesse Islam

aut

(https://www.jesseislam.com/)

Olli Saarela

aut

(https://www.dlsph.utoronto.ca/faculty-profile/saarela-olli/)

James Hanley

aut

(https://jhanley.biostat.mcgill.ca/)

Material

README
NEWS
Reference manual
Package source

In Views

Survival

Vignettes

Competing risk analysis
Customizing Population Time Plots
Plot Cumulative Incidence and Survival Curves
Plot Hazards and Hazard Ratios
Population Time Plots
Introduction to casebase sampling
Time-Varying Covariates

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

casebase archive

Depends

R ≥ 3.5.0

Imports

data.table
ggplot2
methods
mgcv
stats
survival
VGAM

Suggests

colorspace
covr
dplyr
eha
glmnet
knitr
lubridate
progress
rmarkdown
splines
testthat ≥ 3.0.0
visreg

Reverse Suggests

riskRegression