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 27 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:25), 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

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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