prepGridMargins {forestplot}R Documentation

Convert margins to viewport npc margins

Description

Convert margins to viewport npc margins

Usage

prepGridMargins(mar)

Arguments

mar

A vector of margins, at positions:

  • 1 = bottom

  • 2 = left

  • 3 = top

  • 4 = right

Value

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


[Package forestplot version 3.1.3 Index]