cdf,frailty-method | R Documentation |
Distribution method for univariate phase type frailty models
## S4 method for signature 'frailty'
cdf(x, q, X = numeric(0), lower.tail = TRUE)
x |
An object of class frailty. |
q |
A vector of locations. |
X |
A matrix of covariates. |
lower.tail |
Logical parameter specifying whether lower tail (cdf) or upper tail is computed. |
A vector containing the CDF evaluations at the given locations.
obj <- frailty(phasetype(structure = "general"), bhaz = "weibull", bhaz_pars = 2)
cdf(obj, c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.