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.
prFpDrawLine(lower_limit, upper_limit, clr.line, lwd, lty, y.offset,
vertices, vertices.height = 0.1)
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 do the conversion:
convertX(unit(upper_limit, "native"), "npc", valueOnly = TRUE)
and the convertX
together with unit
is needed to get the right values while you need to provide the valueOnly
as you cannot compare a unit object.
The upper limit of the confidence line. See lower_limit for details.
The color of the line.
Line width, see gpar
Line type, see gpar
If you have multiple lines they need an offset in the y-direction.
Set this to TRUE if you want the ends of the confidence intervals to be shaped as a T. This is set default to TRUE if you have any other line type than 1 since there is a risk of a dash occurring at the very end, i.e. showing incorrectly narrow confidence interval.
The height hoft the vertices. Defaults to npc units corresponding to 10% of the row height.
void