followup | R Documentation |
The reverse Kaplan-Meier method estimates the median potential followup time.
followup(formula, cens.code = 0, data, ...)
formula |
A formula whose left hand side is a |
cens.code |
Value of the event |
data |
A data.frame in which all the variables of
|
... |
Arguments passed to |
This is merely a wrapper for prodlim
with argument reverse.
The estimated median potential followup time with inter quartile ranges.
Thomas A. Gerds <tag@biostat.ku.dk>
prodlim
set.seed(8)
d <- SimCompRisk(117)
# overall
followup(Hist(time,event)~1,data=d)
# in strata defined by variable X1
followup(Hist(time,event)~X1,data=d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.