Description Usage Arguments Details Value Author(s) See Also Examples
Estimate the baseline survival probabilities at specified time points
1 | basesurvfun(time, intcureobj)
|
time |
a vector of time points at which survival probabilities will be calculated. |
intcureobj |
an object from |
The estimated baseline survival function should be a continuous function and
will be smooth if the basedist = "exponential"
or "Weibull"
a vector of the same length as time
containing the survival
probabilities at time
Yingwei Peng
1 2 3 4 | data(bmtfit)
# Estimated baseline survival at 1 year
basesurvfun(1, bmtfit)
plot(function(x)basesurvfun(x, intcureobj = bmtfit), from = 0, to = 6, type = "l")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.