Learn R Programming

Gmisc (version 3.0.3)

prPushMarginViewport: Pushes viewport with margins

Description

A grid.layout object is used to generate the margins. A second viewport selecting the mid-row/col is used to create the effect of margins

Usage

prPushMarginViewport(bottom, left, top, right, name = "margin")

Value

2 - the number of pushed viewports

Arguments

bottom

The margin object, either in npc or a unit object, or a vector of 4 if you want the same margins allover.

left

The margin object, either in npc or a unit object.

top

The margin object, either in npc or a unit object

right

The margin object, either in npc or a unit object

name

The name of the last viewport