FastSurvival: Fast Kaplan-Meier, Log-Rank, and Hazard Ratio Estimation for Survival Analysis

Provides fast alternatives to standard survival analysis functions in the 'survival' package. The package implements a single-time-point Kaplan-Meier estimator (survfit_fast()), a log-rank test (survdiff_fast()), a closed-form hazard ratio estimator based on the Pike-Halley Estimator method (coxph_fast()), and a clinical trial data simulator (simdata_fast()). All functions are designed for repeated evaluation inside large simulation loops, such as adaptive sample-size re-estimation, probability-of-success calculations, and regional consistency evaluation in multi-regional trials. Core computations are implemented in 'C++' via 'Rcpp' for maximum performance. Methodological background is described in Collett (2014, ISBN:9780429196294).

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dqrng, Rcpp
LinkingTo: Rcpp, dqrng
Suggests: survival, microbenchmark, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-05-27
DOI: 10.32614/CRAN.package.FastSurvival (may not be active yet)
Author: Gosuke Homma [aut, cre]
Maintainer: Gosuke Homma <my.name.is.gosuke at gmail.com>
BugReports: https://github.com/gosukehommaEX/FastSurvival/issues
License: MIT + file LICENSE
URL: https://github.com/gosukehommaEX/FastSurvival
NeedsCompilation: yes
Language: en-US
Materials: README, NEWS
CRAN checks: FastSurvival results

Documentation:

Reference manual: FastSurvival.html , FastSurvival.pdf
Vignettes: Introduction to FastSurvival (source, R code)

Downloads:

Package source: FastSurvival_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): FastSurvival_0.1.0.tgz, r-oldrel (arm64): FastSurvival_0.1.0.tgz, r-release (x86_64): FastSurvival_0.1.0.tgz, r-oldrel (x86_64): FastSurvival_0.1.0.tgz

Linking:

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