Calculates various functions needed for design and monitoring survival trials accounting for complex situations such as delayed treatment effect, treatment crossover, nonuniform accrual, and different censoring distributions between groups. The event time distribution is assumed to be piecewise exponential (PWE) distribution and the entry time is assumed to be piecewise uniform distribution. As compared with Version 1.2.1, two more types of hybrid crossover are added. A bug is corrected in the function "pwecx" that calculates the crossoveradjusted survival, distribution, density, hazard and cumulative hazard functions. Also, to generate the crossoveradjusted event time random variable, a more efficient algorithm is used and the output includes crossover indicators.
Package details 


Author  Xiaodong Luo [aut, cre], Xuezhou Mao [ctb], Xun Chen [ctb], Hui Quan [ctb], Sanofi [cph] 
Maintainer  Xiaodong Luo <Xiaodong.Luo@sanofi.com> 
License  GPL (>= 2) 
Version  1.3.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.