Plot Survival Curves

DESCRIPTION:
Plots a survival curve for each strata in a survival analysis. This function is deprecated; use plot.survfit instead.

USAGE:
plot.surv.fit(surv, conf.int=<<see below>>, mark.time=T, mark=3, col=1,
              lty=1, na.strata=T, mark.cex=1, log=F, yscale=1, xlab=
              "Time", ylab="Survival", xaxs="e")

REQUIRED ARGUMENTS:
surv:
output from a call to surv.fit. Generally, an object of class "surv.fit".

OPTIONAL ARGUMENTS:
conf.int:
logical value: determines whether confidence intervals should be plotted. The default is to do so if there is only one curve, i.e., no strata, and to suppress them otherwise.
mark.time:
logical: controls the marking of the curves. If set to FALSE, no marking is done. If set to TRUE (the default) curves are marked at each censoring time. Argument mark.time can also be of type numeric. In that case the survival curves will be marked at the time points specified in mark.time.
mark:
vector of mark parameters. The lines help file contains examples of the possible marks. This must be either a single number or a vector with length the number of strata. If mark is shorter than the number of curves, then it is used cyclically.
col:
vector of colors. This can be either a single number or a vector. If its length is shorter than the number of curves, then it is used cyclically. This is useful as lty to distinguish between the curves. The default value is 1, all lines will be the same color.
lty:
vector of line types. This can be either a single number or a vector. If its length is shorter than the number of curves, then it is used cyclically. The default value is 1, all lines will be the same type.
na.strata:
if this is TRUE any observation with NA in surv$strata will form a separate stratum, if FALSE, observations with NA in surv$strata will be omitted from the plot.
mark.cex:
parameter available to change the size of the marks. Not a vector; all marks have the same size.
log:
logical value: should the y axis be on a log scale?
yscale:
will be used to multiply the y axis. A value of 100, for instance, would be used to give a percent scale. Only the y axis labels are changed, not the actual plot coordinates.
xlab:
character string to be used as the x axis label. Default is "Time".
ylab:
character string to be used as the y axis label. Default is "Survival".
xaxs:
the x axis style, as described in the help file for par. Default is "e", extended.

Graphical parameters may also be supplied as arguments to this function (see par).


VALUE:
list with components x and y, containing the coordinates of the last point on each of the curves. This may be useful for labeling. The invisible flag is set so this is not seen unless assigned.

SIDE EFFECTS:
a plot of survival curves is produced, one curve for each strata.

DETAILS:
Produces a plot of survival curves from the function surv.fit.

SEE ALSO:
surv.fit .

EXAMPLES:
cancer.surv <- surv.fit(cancer$time, cancer$status, strata=cancer$sex)
plot.surv.fit(cancer.surv, col=c(3,6), log=T, conf.int=T, ylab="Log(Survival)")