add_border | R Documentation |
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)
)
plot |
A forest plot object. |
row |
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. |
col |
A numeric value or vector indicating the columns to add border. A border will be drawn to all columns if this is omitted. |
part |
The border will be added to |
where |
Where to draw the border of the cell, possible values are
|
gp |
An object of class |
A gtable
object.
gpar
segmentsGrob
gtable_add_grob
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.