Description Usage Arguments Value
View source: R/survival_funcs.R
If !correlated
: Y ~ Exponential(λ)
If correlated
: Y ~ Exponential(λ \cdot k) \quad K ~ Gamma(a, b)
1 | S.Y.Exponential(t, a, b, parameters, correlated)
|
t |
A number or vector, the survival times |
a |
A number, the shape parameter of Gamma frailty distribution |
b |
A number, the rate parameter of Gamma frailty distribution |
parameters |
A list, with an element named lambda, the rate parameter of the exponential distribution |
correlated |
If TRUE, random variable is conditionally exponential
on the frailty parameter, that has |
Survival function evaluated at t
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.