Usage
groupkm(x, Srv, m=50, g, cuts, u,
pl=FALSE, loglog=FALSE, conf.int=.95, xlab, ylab,
lty=1, add=FALSE, cex.subtitle=.7, ...)Arguments
Srv
a "Surv" object - n x 2 matrix containing survival time and event/censoring
1/0 indicator. Units of measurement come from the "units" attribute
of the survival time variable. "Day" is the default.
m
desired minimum number of observations in a group
g
number of quantile groups
cuts
actual cuts in x, e.g. c(0,1,2) to use [0,1), [1,2].
u
time for which to estimate survival
loglog
set to TRUE to plot log(-log(survival)) instead of survival
conf.int
defaults to .95 for 0.95 confidence bars. Set to FALSE to suppress bars.
xlab
if pl=TRUE, is x-axis label. Default is label(x) or name of calling argument
ylab
if pl=TRUE, is y-axis label. Default is constructed from u and time units
attribute.
lty
line time for primary line connecting estimates
add
set to TRUE if adding to an existing plot
cex.subtitle
character size for subtitle. Default is .7. Use FALSE to
suppress subtitle.
...
plotting parameters to pass to the plot and errbar functions