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,
adjust.labels = TRUE, show.censored = FALSE, ...)Nil
an object of class `prodlim' as returned by the
prodlim function.
see plot.prodlim
Where to compute the atrisk numbers.
Distance of the atrisk numbers from the inner plot.
The color of the text.
The color for the labels. Defaults to col.
Distance between rows of atrisk numbers.
Passed on to mtext for both atrisk numbers and
labels.
Labels for the at-risk rows.
Title for the at-risk labels
The color for the title. Defaults to 1 (black).
The value is passed on to the mtext argument
at for the labels (not the atriks numbers).
Passed on to mtext for the labels (not the atriks
numbers).
If line is missing, the distance of the upper
most atrisk row from the inner plotting region: par()$mgp[2].
If TRUE the labels are left adjusted.
If TRUE the cumulative number of subjects lost to follow up is shown in parentheses.
Further arguments that are passed to the function
mtext.
Thomas Alexander Gerds <tag@biostat.ku.dk>
This function should not be called directly. The arguments can be specified
as atRisk.arg in the call to plot.prodlim.
plot.prodlim, confInt,
markTime