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 25 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

foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
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  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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