Learn R Programming

forestplot (version 1.0)

prFpDrawLine: Draws a straight line

Description

If the line is outside the boundaries the line is clipped with an arrow at the limit indicating that it continues. If the lower limit is not below the upper limit the line is not drawn.

Usage

prFpDrawLine(lower_limit, upper_limit, clr.line, lwd, y.offset)

Arguments

lower_limit
The lower limit of the confidence line. A native numeric variable that can actually be outside the boundaries. If you want to see if it is outside then convert it to 'npc' and see if the value ends up more than 1 or less than 0. Here's how you
upper_limit
The upper limit of the confidence line. See lower_limit for details.
clr.line
The color of the line.
lwd
Line width
y.offset
If you have multiple lines they need an offset in the y-direction.

Value

  • void