AtRisk {prodlim}R Documentation

Drawing numbers of subjects at-risk of experiencing an event below Kaplan-Meier and Aalen-Johannsen plots.

Description

This function is invoked and controlled by plot.prodlim.

Usage

AtRisk(x, newdata, times, line, interspace, cex, labels, pos, adj, dist, adjust.labels = TRUE, ...)

Arguments

x an object of class `prodlim' as returned by the prodlim function.
newdata see plot.prodim
times Where to compute the atrisk numbers.
line Distance of the atrisk numbers from the inner plot.
interspace Distance between rows of atrisk numbers.
cex Passed on to mtext for both atrisk numbers and labels.
labels Labels for the atrisk rows.
pos The value is passed on to the mtext argument at for the labels (not the atriks numbers).
adj Passed on to mtext for the labels (not the atriks numbers).
dist If line is missing, the distance of the upper most atrisk row from the inner plotting region: par()$mgp[2].
adjust.labels If TRUE the labels are left adjusted.
... Further arguments that are passed to the function mtext.

Details

This function should not be called directly. The arguments can be specified as AtRisk.arg in the call to plot.prodim.

Value

Nil

Author(s)

Thomas Alexander Gerds <tag@biostat.ku.dk>

See Also

plot.prodlim, ConfInt, MarkTime


[Package prodlim version 1.1.3 Index]