Description Usage Arguments Value
View source: R/weibull_functions.R View source: R/cond_sample.weibull.R
Simulate random variables from a Weibull distribution. The function is parameterized with hazard: ν λ t^{nu-1}
1 2 | ## S3 method for class 'weibull'
cond_sample(u, t0, trt = 0, params)
|
u |
numeric vector, 0 ≤q u ≤q 1 for all elements in u. |
t0 |
Nonnegative real number. The time the survival function is
conditioned on. |
params |
a named list containing |
a vector of failure times conditional on t0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.