- x
a vector or matrix of predictors
- Srv
a Surv
object
- which
a vector of column numbers of x
for which to estimate hazard
ratios across time and make plots.
The default is to do so for all predictors. Whenever
one predictor is displayed, all other predictors in the x
matrix
are adjusted for (with a separate adjustment form for each time interval).
- times
optional vector of time interval endpoints.
Example: times=c(1,2,3)
uses intervals [0,1), [1,2), [2,3), [3+)
.
If times is omitted, uses intervals containing e
events
- e
number of events per time interval if times not given
- subset
vector used for subsetting the entire analysis,
e.g. subset=sex=="female"
- conf.int
confidence interval coverage
- legendloc
location for legend. Omit to use mouse, "none"
for none,
"ll"
for lower left of graph, or actual x and y coordinates (e.g.
c(2,3)
)
- smooth
also plot the super--smoothed version of the log hazard ratios
- pr
defaults to FALSE
to suppress printing of individual Cox fits
- pl
defaults to TRUE
to plot results
- add
add this plot to an already existing plot
- ylim
vector of y
-axis limits. Default is computed to include confidence bands.
- cex
character size for legend information, default is 0.5
- xlab
label for x
-axis, default is "t"
- ylab
label for y
-axis, default is "Log Hazard Ratio"
or "Hazard Ratio"
,
depending on antilog
.
- antilog
default is FALSE
. Set to TRUE
to plot anti-log, i.e., hazard ratio.
- ...
optional graphical parameters