make.surv | R Documentation |
Creates the survival curves for the fitted model(s) - Original code from survHE
make.surv(fit, mod = 1, t = NULL, newdata = NULL, nsim = 1, ...)
fit |
the result of the call to the |
mod |
the index of the model. Default value is 1, but the user can choose which model fit to visualise, if the call to fit.models has a vector argument for distr (so many models are fitted & stored in the same object) |
t |
the time vector to be used for the estimation of the survival curve |
newdata |
a list (of lists), specifiying the values of the covariates
at which the computation is performed. For example
|
nsim |
The number of simulations from the distribution of the survival
curves. Default at |
... |
Additional options |
A list with survival times for the fitted models
Gianluca Baio
Baio.2020expertsurv
psa.plot
(for example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.