frailty | R Documentation |
Constructor function for univariate phase type frailty models
frailty(
ph = NULL,
bhaz = NULL,
bhaz_pars = NULL,
B = numeric(0),
alpha = NULL,
S = NULL,
structure = NULL,
dimension = 3
)
ph |
An object of class phasetype. |
bhaz |
Baseline hazard function. |
bhaz_pars |
The parameters of the baseline hazard function. |
B |
Regression parameters. |
alpha |
A probability vector. |
S |
A sub-intensity matrix. |
structure |
A valid phase-type structure. |
dimension |
The dimension of the phase-type structure (if provided). |
An object of class frailty.
frailty(phasetype(structure = "coxian", dimension = 4), bhaz = "weibull", bhaz_pars = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.