Learn R Programming

forestplot (version 1.0)

prFpGetLayoutVP: Get the main foresplot

Description

The layout makes space for a legend if needed

Usage

prFpGetLayoutVP(lineheight, labels, nr, legend_layout = NULL)

Arguments

lineheight
Height of the graph. By default this is auto and adjustes to the space that is left after adjusting for x-axis size and legend. Sometimes it might be desireable to set the line height to a certain height, for instance if you have
labels
The labels
nr
Number of rows
legend_layout
A legend layout object if applicable

Value

  • viewport Returns the viewport needed