ConfInt {prodlim}R Documentation

Add point-wise confidence limits to the graphs of Kaplan-Meier and Aalen-Johannsen estimates of survival and cumulative incidence.

Description

This function is invoked and controlled by plot.prodlim.

Usage

ConfInt(x, times, newdata, type, cause, col, lty, lwd, ...)

Arguments

x an object of class `prodlim' as returned by the prodlim function.
times where to compute point-wise confidence limits
newdata see plot.prodim
type If "bars" then confidence limits are drawn as vertical bars at specified times. Else (the default) pseudo confidence bands are drawn by connecting all the upper confidence limits and all the lower confidence limits.
cause see plot.prodim
col the colour of the lines.
lty the line type of the lines.
lwd the line thickness of the lines.
... Further arguments that are passed to the function segments if type=="bars" and to lines else.

Details

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

Value

Nil

Author(s)

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

See Also

plot.prodlim, AtRisk, MarkTime


[Package prodlim version 1.1.3 Index]