unsurv: Unsupervised Clustering of Individualized Survival Curves

Tools for clustering individualized survival curves using the Partitioning Around Medoids (PAM) algorithm, with monotonic enforcement, optional smoothing, weighted distances (L1/L2), automatic K selection via silhouette width, prediction for new curves, basic stability checks, and plotting helpers. The method is described in El Badisy (2026) <doi:10.1093/bioadv/vbag218>.

Version: 0.7.0
Depends: R (≥ 4.1.0)
Imports: stats, cluster, ggplot2
Suggests: tidyr, dplyr, scales, survival, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-08-31
DOI: 10.32614/CRAN.package.unsurv
Author: Imad El Badisy [aut, cre]
Maintainer: Imad El Badisy <elbadisyimad at gmail.com>
BugReports: https://github.com/ielbadisy/unsurv/issues
License: MIT + file LICENSE
URL: https://CRAN.R-project.org/package=unsurv
NeedsCompilation: no
Citation: unsurv citation info
Materials: README, NEWS
CRAN checks: unsurv results

Documentation:

Reference manual: unsurv.html , unsurv.pdf
Vignettes: Clustering Individualized Survival Curves with unsurv (source, R code)

Downloads:

Package source: unsurv_0.7.0.tar.gz
Windows binaries: r-devel: unsurv_0.7.0.zip, r-release: unsurv_0.5.0.zip, r-oldrel: unsurv_0.5.0.zip
macOS binaries: r-release (arm64): unsurv_0.7.0.tgz, r-oldrel (arm64): unsurv_0.7.0.tgz, r-release (x86_64): unsurv_0.7.0.tgz, r-oldrel (x86_64): unsurv_0.7.0.tgz
Old sources: unsurv archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=unsurv to link to this page.