Package: npsurvSS
Type: Package
Title: Sample Size and Power Calculation for Common Non-Parametric
        Tests in Survival Analysis
Version: 1.1.0
Authors@R: c(person("Godwin", "Yung", email="godwin.y.yung@gmail.com", role=c("aut", "cre")),
  person("Yi", "Liu", email="yiliu4321@gmail.com", role=c("aut")))
Author: Godwin Yung [aut, cre],
  Yi Liu [aut]
Maintainer: Godwin Yung <godwin.y.yung@gmail.com>
Description: A number of statistical tests have been proposed to compare two 
  survival curves, including the difference in (or ratio of) t-year 
  survival, difference in (or ratio of) p-th percentile survival, difference in
  (or ratio of) restricted mean survival time, and the weighted log-rank test. 
  Despite the multitude of options, the convention in survival studies is to assume
  proportional hazards and to use the unweighted log-rank test for design and 
  analysis. This package provides sample size and power 
  calculation for all of the above statistical tests with allowance for 
  flexible accrual, censoring, and survival (eg. Weibull, piecewise-exponential, 
  mixture cure). It is the companion R package to the paper by Yung and Liu (2020)
  <doi:10.1111/biom.13196>. Specific to the weighted log-rank test, users may 
  specify which approximations they wish to use to estimate the large-sample mean 
  and variance. The default option has been shown to provide substantial
  improvement over the conventional sample size and power equations based on Schoenfeld 
  (1981) <doi:10.1093/biomet/68.1.316>.
Depends: R (>= 3.4.0)
Imports: stats, utils
License: GPL-2
Encoding: UTF-8
RoxygenNote: 7.3.1
Suggests: knitr, rmarkdown, dplyr, tidyr, tibble, ggplot2
VignetteBuilder: knitr
URL: https://github.com/godwinyyung/npsurvSS
BugReports: https://github.com/godwinyyung/npsurvSS/issues
NeedsCompilation: no
Packaged: 2024-05-08 21:34:02 UTC; yungg
Repository: CRAN
Date/Publication: 2024-05-08 22:00:02 UTC
Built: R 4.6.0; ; 2026-04-25 19:25:14 UTC; unix
