Add border to any cells at any side.
add_underline is a wrapper of add_border can be used to add
underline to cells.
add_border(
plot,
row = NULL,
col = NULL,
part = c("body", "header"),
where = c("bottom", "left", "top", "right"),
gp = gpar(lwd = 2)
)add_underline(
plot,
row = NULL,
col = NULL,
part = c("body", "header"),
gp = gpar(lwd = 2)
)
A gtable object.
A forest plot object.
A numeric value or vector indicating row number to add border. This is corresponding to the data row number. Remember to account for any text inserted. A border will be drawn to all rows if this is omitted.
A numeric value or vector indicating the columns to add border. A border will be drawn to all columns if this is omitted.
The border will be added to "body" (default) or
"header".
Where to draw the border of the cell, possible values are
"bottom" (default), "left", "top" and "right"
An object of class "gpar", graphical parameter to be passed
to segmentsGrob.