Sample Size Calculator for Survival Endpoint Clinical Trials
Overview
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.
- Fixed a platform-specific rounding difference in the 'lrstat' sample size test that caused a failure on macOS (ARM64). The test now accepts the correct result on both Windows and macOS.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK9 OK2026-06-22
- ERROR4 OK, 2 ERROR2026-06-21
Documentation
- Help pages
- 1
- Examples that run
- 100%1 run in a plain check (under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.1.2Latest
- 0.1.12026-06-20
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-20
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 37 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("survSampleSize")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.