rWeibull | R Documentation |
Generates Weibull event times with shape parameter \alpha
and rate
parameter \lambda
. See FitWeibull
for the parameterization. If
a censoring proportion p
is provided, the deviates are subject to
non-informative random right censoring.
rWeibull(n, a = 1, l = 1, p = 0)
n |
Sample size. |
a |
Shape. |
l |
Rate. |
p |
Expected censoring proportion. |
Data.frame including the observation time and status.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.