% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{melanoma}
\alias{melanoma}
\title{Malignant Melanoma Survival After Surgery}
\format{
A data frame with 205 rows and 6 columns:
\describe{
  \item{time}{Survival time in days}
  \item{status}{Event indicator (1 = died from melanoma, 0 = alive, 2 = other death)}
  \item{thickness}{Tumor thickness in mm}
  \item{sex}{Patient sex (1 = male, 0 = female)}
  \item{age}{Patient age in years}
  \item{ulcer}{Ulceration indicator (1 = present, 0 = absent)}
  \item{year}{Year of operation}
}
}
\source{
Andersen, P. K., Borgan, O., Gill, R. D., & Keiding, N. (1993). Statistical Models Based on Counting Processes. Springer.
}
\usage{
melanoma
}
\description{
Survival times for 205 patients with malignant melanoma after surgery.
This rich clinical dataset includes multiple covariates and heavy censoring.
}
\examples{
data(melanoma)
\donttest{
# 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)
}
}
\keyword{datasets}
