legend_grob | R Documentation |
This function used to create legends for the forest plot.
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 = ""),
...
)
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. |
A frame grob
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.