Description Usage Arguments Value
View source: R/loglogistic_functions.R
Simulate random variables from a log logistic distribution. The function is parameterized with hazard: \frac{(β / α)(t / α)^{β-1}}{1+(t / α)^{β}}
1 2 | ## S3 method for class 'loglogistic'
cond_sample(u, t0, trt, 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.