nph
Planning and Analysing Survival Studies under Non-Proportional Hazards
Piecewise constant hazard functions are used to flexibly model survival distributions with non-proportional hazards and to simulate data from the specified distributions. A function to calculate weighted log-rank tests for the comparison of two hazard functions is included. Also, a function to calculate a test using the maximum of a set of test statistics from weighted log-rank tests (MaxCombo test) is provided. This test utilizes the asymptotic multivariate normal joint distribution of the separate test statistics. The correlation is estimated from the data. These methods are described in Ristl et al. (2021)
- Version2.1
- R version≥ 3.5.0
- LicenseGPL-3
- Needs compilation?No
- nph citation info
- Last release05/16/2022
Documentation
Team
Robin Ristl
Nicolas Ballarini
Show author detailsRolesContributor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends1 package
- Imports6 packages
- Suggests6 packages
- Reverse Depends1 package
- Reverse Imports1 package