surv,frailty-method | R Documentation |
Survival method for univariate phase type frailty models
## S4 method for signature 'frailty'
surv(x, q, X = numeric(0))
x |
An object of class frailty. |
q |
A vector of locations. |
X |
A matrix of covariates. |
A vector containing the survival function evaluations at the given locations.
obj <- frailty(phasetype(structure = "general"), bhaz = "weibull", bhaz_pars = 2)
surv(obj, c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.