| melanoma | R Documentation |
Survival times for 205 patients with malignant melanoma after surgery. This rich clinical dataset includes multiple covariates and heavy censoring.
melanoma
A data frame with 205 rows and 6 columns:
Survival time in days
Event indicator (1 = died from melanoma, 0 = alive, 2 = other death)
Tumor thickness in mm
Patient sex (1 = male, 0 = female)
Patient age in years
Ulceration indicator (1 = present, 0 = absent)
Year of operation
Andersen, P. K., Borgan, O., Gill, R. D., & Keiding, N. (1993). Statistical Models Based on Counting Processes. Springer.
data(melanoma)
# Treat status 1 as event, others as censored
melanoma$event <- ifelse(melanoma$status == 1, 1, 0)
fit <- fit_betadanish(survival::Surv(time, event) ~ age + thickness, data = melanoma)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.