Piecewise constant hazard functions are used to flexibly model survival distributions with nonproportional hazards and to simulate data from the specified distributions. Also, a function to calculate weighted logrank 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 logrank tests is provided. This test utilizes the asymptotic multivariate normal joint distribution of the separate test statistics. The correlation is estimated from the data.
Package details 


Author  Robin Ristl [aut, cre], Nicolas Ballarini [ctb] 
Maintainer  Robin Ristl <robin.ristl@meduniwien.ac.at> 
License  GPL3 
Version  2.0 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.