Package 'survSampleSize'

Title: Sample Size Calculator for Survival Endpoint Clinical Trials
Description: 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.
Authors: Huai Jiang [aut, cre]
Maintainer: Huai Jiang <[email protected]>
License: MIT + file LICENSE
Version: 0.1.1
Built: 2026-06-20 17:32:15 UTC
Source: https://github.com/cran/survSampleSize

Help Index


Launch the Survival Sample Size Shiny App

Description

Opens an interactive Shiny application for sample size calculation in clinical trials with survival endpoints, implementing lrstat (Lu 2021) and powerSurvEpi (Freedman 1982).

Usage

run_app()

Value

No return value. Launches the Shiny app in the browser.

Examples

if (interactive()) {
  run_app()
}