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.

Version: | 1.9 |

Depends: | R (≥ 3.3.0) |

Imports: | stats, graphics, mvtnorm, ggplot2 |

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

Published: | 2019-08-23 |

Author: | Robin Ristl [aut, cre], Nicolas Ballarini [ctb] |

Maintainer: | Robin Ristl <robin.ristl at meduniwien.ac.at> |

License: | GPL-3 |

NeedsCompilation: | no |

CRAN checks: | nph results |

Reference manual: | nph.pdf |

Vignettes: |
Examples of non-proportional hazards in clinical trials with nph Introduction to nph and Usage Instructions |

Package source: | nph_1.9.tar.gz |

Windows binaries: | r-devel: nph_1.9.zip, r-release: nph_1.9.zip, r-oldrel: nph_1.9.zip |

OS X binaries: | r-release: nph_1.9.tgz, r-oldrel: nph_1.9.tgz |

Please use the canonical form
`https://CRAN.R-project.org/package=nph`
to link to this page.