View source: R/summary.expertsurv.R
summary.expertsurv | R Documentation |
Calculates the mean survival time as the area under the survival curve -
ported from survHE
## S3 method for class 'expertsurv'
summary(object, mod = 1, t = NULL, nsim = 1000, ...)
object |
a |
mod |
the model to be analysed (default = 1) |
t |
the vector of times to be used in the computation. Default = NULL, which means the observed times will be used. NB: the vector of times should be: i) long enough so that S(t) goes to 0; and ii) dense enough so that the approximation to the AUC is sufficiently precise |
nsim |
the number of simulations from the survival curve distributions to be used (to compute interval estimates) |
... |
Additional options |
A list comprising of the following elements
mean.surv |
A matrix with the simulated values for the mean survival times |
tab |
A summary table |
Gianluca Baio
Baio.2020expertsurv
fit.models.expert
, make.surv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.