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 Mar. 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

diffIRT  
Diffusion IRT Models for Response and Response Time Data
Package to fit diffusion-based IRT models to response and response time data. Models are fit using ...
Download / Learn more Package Citations See dependency  
neat  
Efficient Network Enrichment Analysis Test
Includes functions and examples to compute NEAT, the Network Enrichment Analysis Test described in ...
Download / Learn more Package Citations See dependency  
imagefx  
Extract Features from Images
Synthesize images into characteristic features for time-series analysis or machine learning applicat ...
Download / Learn more Package Citations See dependency  
ClimClass  
Climate Classification According to Several Indices
Classification of climate according to Koeppen - Geiger, of aridity indices, of continentality indi ...
Download / Learn more Package Citations See dependency  
pinp  
'pinp' is not 'PNAS'
A 'PNAS'-alike style for 'rmarkdown', derived from the 'Proceedings of the National Academy of Scie ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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