atRisk | R Documentation |
This function is invoked and controlled by plot.prodlim
.
atRisk(
x,
newdata,
times,
line,
col,
labelcol = NULL,
interspace,
cex,
labels,
title = "",
titlecol = NULL,
pos,
adj,
dist,
xdist,
adjust.labels = TRUE,
show.censored = FALSE,
unit = "npc",
...
)
x |
an object of class ‘prodlim’ as returned by the
|
newdata |
see |
times |
Where to compute the atrisk numbers. |
line |
Distance of the atrisk numbers from the inner plot. |
col |
The color of the text. |
labelcol |
The color for the labels. Defaults to col. |
interspace |
Distance between rows of atrisk numbers. |
cex |
Passed on to |
labels |
Labels for the at-risk rows. |
title |
Title for the at-risk labels |
titlecol |
The color for the title. Defaults to 1 (black). |
pos |
The value is passed on to the |
adj |
Passed on to |
dist |
If |
xdist |
Distance in x-axis direction to define the distance between the labels
and the numbers at-risk. Deftaults to |
adjust.labels |
If |
show.censored |
If |
unit |
The graphical coordinate systems unit to convert from when line2user is calling |
... |
Further arguments that are passed to the function
|
This function should not be called directly. The arguments can be specified
as atRisk.arg
in the call to plot.prodlim
.
Nil
Thomas Alexander Gerds <tag@biostat.ku.dk>
plot.prodlim
, confInt
,
markTime
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.