survfit {Design}R Documentation

Modified Version of survival Package survfit Function

Description

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.

Usage

survfit(formula, data, weights, subset, na.action = na.delete, conf.type = c("log-log", "log", "plain", "none"), ...)

Arguments

formula
data
weights
subset
na.action
conf.type
... see survfit

Value

see survfit

See Also

survfit

Examples

## Not run: 
#fit a Kaplan-Meier and print the results
data(aml)
survfit(Surv(time, status) ~ x, data=aml)
## End(Not run)

[Package Design version 2.0-12 Index]