Learn R Programming

forestplot (version 1.10.1)

prFpGetLegendGrobs: Gets the forestplot legend grobs

Description

Gets the forestplot legend grobs

Usage

prFpGetLegendGrobs(legend, txt_gp, title)

Arguments

legend

Legend corresponding to the number of bars

txt_gp

Set the fonts etc for all text elements. See fpTxtGp for details

title

The title of the plot if any

Value

list A "Legend" class that derives from a list with all the different legends. The list also contains attributes such as height, width, max_height, max_width, line_height_and_spacing. The title of the legend is saved inside attr("title")