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. Also, a function to calculate weighted log-rank tests for the comparison of two hazard functions is included. Finally, a function to calculate a test using the maximum of a set of test statistics from weighted log-rank tests is provided. This test utilizes the asymptotic multivariate normal joint distribution of the separate test statistics. The correlation is estimated from the data.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("nph")

1.9 by Robin Ristl, a month ago


Browse source code at https://github.com/cran/nph


Authors: Robin Ristl [aut, cre] , Nicolas Ballarini [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports stats, graphics, mvtnorm, ggplot2

Suggests knitr, shiny, shinycssloaders, formatR, styler, rmarkdown


See at CRAN