Other packages > Find by keyword >

nphPower  

Sample Size Calculation under Non-Proportional Hazards
View on CRAN: Click here


Download and install nphPower package within the R console
Install from CRAN:
install.packages("nphPower")

Install from Github:
library("remotes")
install_github("cran/nphPower")

Install by package version:
library("remotes")
install_version("nphPower", "1.1.0")



Attach the package and use:
library("nphPower")
Maintained by
Huan Cheng
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-12-01
Latest Update: 2024-03-28
Description:
Performs combination tests and sample size calculation for fixed design with survival endpoints using combination tests under either proportional hazards or non-proportional hazards. The combination tests include maximum weighted log-rank test and projection test. The sample size calculation procedure is very flexible, allowing for user-defined hazard ratio function and considering various trial conditions like staggered entry, drop-out etc. The sample size calculation also applies to various cure models such as proportional hazards cure model, cure model with (random) delayed treatments effects. Trial simulation function is also provided to facilitate the empirical power calculation. The references for projection test and maximum weighted logrank test include Brendel et al. (2014) and Cheng and He (2021) . The references for sample size calculation under proportional hazard include Schoenfeld (1981) and Freedman (1982) . The references for calculation under non-proportional hazards include Lakatos (1988) and Cheng and He (2023) .
How to cite:
Huan Cheng (2021). nphPower: Sample Size Calculation under Non-Proportional Hazards. R package version 1.1.0, https://cran.r-project.org/web/packages/nphPower. Accessed 05 Jun. 2026.
Previous versions and publish date:
1.0.0 (2021-12-01 12:20)
Other packages that cited nphPower R package
View nphPower citation profile
Other R packages that nphPower depends, imports, suggests or enhances
Complete documentation for nphPower
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA