View source: R/survival_functions.R
model.dist | R Documentation |
model.dist
calculates survival probabilities given a survival distribution and its parameter values.
model.dist(dist.v, d.data, dat.x = 0, t)
dist.v |
a character string specifying the name of the survival distribution. |
d.data |
a vector of parameter values of the survival distribution. |
dat.x |
a vector of covariate values that multiply the coefficients of the survival model. Default = 0 (baseline model i.e beta=0). |
t |
a vector of time points to calculate the survival probabilities at. |
A vector of survival probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.