survfit {Design} | R Documentation |
This modification of survfit
keeps attributes of the Surv
object, users Hmisc
's interaction()
to form strata labels,
and uses a default confidence interval basis of log-log.
survfit(formula, data, weights, subset, na.action = na.delete, conf.type = c("log-log", "log", "plain", "none"), ...)
formula |
|
data |
|
weights |
|
subset |
|
na.action |
|
conf.type |
|
... |
see survfit |
see survfit
## Not run: #fit a Kaplan-Meier and print the results data(aml) survfit(Surv(time, status) ~ x, data=aml) ## End(Not run)