survSampleSize provides an interactive Shiny application
for sample size and power calculation in clinical trials with a survival
(time-to-event) endpoint, under general design conditions.
Two complementary methods are implemented:
lrstat
package), supporting non-proportional hazards, delayed treatment effects
(DTE), unequal allocation, dropout, non-inferiority testing, and
Fleming-Harrington weighted log-rank statistics.powerSurvEpi
package) for the proportional-hazards setting.The app also displays theoretical survival curves and a calendar-time event-prediction timeline, and offers a side-by-side comparison of the two methods.
Install from CRAN:
install.packages("survSampleSize")Or install the development version:
# install.packages("remotes")
remotes::install_github("wettlinmalfa629-hue/survSampleSize")The interactive app relies on several packages declared in
Suggests. Install them with:
install.packages(c(
"lrstat", "powerSurvEpi", "DT", "ggplot2", "bslib", "plotly"
))Launch the application with:
library(survSampleSize)
run_app()This opens the Shiny app in your default browser. From there you can:
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.