This function is invoked and controlled by plot.prodlim.

confInt(ci, citype, col, lty, lwd, density = 55, ...)

Arguments

ci

A data.table with columns time, lower and upper.

citype

If "shadow" then confidence limits are drawn as colored shadows. Otherwise, dotted lines are used to show the upper and lower confidence limits.

col

the colour of the lines.

lty

the line type of the lines.

lwd

the line thickness of the lines.

density

For citype="shadow", the density of the shade. Default is 55 percent.

...

Further arguments that are passed to the function segments if type=="bars" and to lines else.

Value

Nil

Details

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

Author

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