make.surv {expertsurv} | R Documentation |
Engine for Probabilistic Sensitivity Analysis on the survival curves
Description
Creates the survival curves for the fitted model(s) - Original code from survHE
Usage
make.surv(fit, mod = 1, t = NULL, newdata = NULL, nsim = 1, ...)
Arguments
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 |
Value
A list with survival times for the fitted models
Author(s)
Gianluca Baio
References
Baio G (2020). “survHE: Survival Analysis for Health Economic Evaluation and Cost-Effectiveness Modeling.” Journal of Statistical Software, 95(14), 1–47. doi:10.18637/jss.v095.i14.
See Also
psa.plot
(for example)