legend_grob {forestploter} | R Documentation |
Create legends
Description
This function used to create legends for the forest plot.
Usage
legend_grob(
name = "",
label,
position = c("right", "top", "bottom"),
hgap = unit(0.1, "lines"),
vgap = unit(0.5, "lines"),
pch = 15,
gp = gpar(lty = 1, col = "black", fill = "black", fontsize = 12, fontfamily = ""),
...
)
Arguments
name |
Character string, Legend name. |
label |
legend labels (expressions). |
position |
Position of the legend, |
hgap |
Horizontal gap between the legend entries,
see |
vgap |
Vertical gap between the legend entries,
see |
pch |
Legend symbol. |
gp |
Graphical parameters. |
... |
Other parameters, not used currently. |
Value
A frame grob
[Package forestploter version 1.1.2 Index]