Learn R Programming

forestplot (version 3.0.0)

prepGridMargins: Convert margins to viewport npc margins

Description

Convert margins to viewport npc margins

Usage

prepGridMargins(mar)

Value

Returns a list with bottom, left, top, and right as unit("npc")

Arguments

mar

A vector of margins, at positions:

  • 1 = bottom

  • 2 = left

  • 3 = top

  • 4 = right