survSampleSize: Sample Size Calculator for Survival Endpoint Clinical Trials

An interactive 'shiny' application for sample size and power calculation under general conditions for clinical trials with survival endpoints. Implements the weighted log-rank method of Lu (2021) <doi:10.1002/pst.2069> via the 'lrstat' package, supporting non-proportional hazards, delayed treatment effects, unequal allocation and dropout, as well as the classic method of Freedman (1982) <doi:10.1002/sim.4780010204> via the 'powerSurvEpi' package. Results are presented interactively with survival curves and event-prediction timelines.

Version: 0.1.1
Imports: lrstat, powerSurvEpi, shiny, stats
Suggests: bslib, DT, ggplot2, knitr, plotly, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-06-20
DOI: 10.32614/CRAN.package.survSampleSize (may not be active yet)
Author: Huai Jiang [aut, cre]
Maintainer: Huai Jiang <13661928191 at 163.com>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: survSampleSize results [issues need fixing before 2026-07-04]

Documentation:

Reference manual: survSampleSize.html , survSampleSize.pdf
Vignettes: Getting started with survSampleSize (source, R code)

Downloads:

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

Linking:

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