Generates generalized gamma event times with shape parameters
\((\alpha,\beta)\), and rate parameter \(\lambda\). See
FitGenGamma
for the parameterization. If a censoring
proportion \(p\) is provided, the event times are subject to
non-informative random right censoring.
rGenGamma(n, a = 1, b = 1, l = 1, p = 0)
Data.frame including the observation times and status indicators.
Sample size.
First shape parameter, \(\alpha\).
Second shape parameter, \(\beta\). For the standard gamma distribution, set \(\beta=1\).
Rate.
Expected censoring proportion.