Learn R Programming

figuRes2 (version 1.0.0)

sync.ylab.widths: sync.ylab.widths

Description

Aligns the widths of ggplot objects to ensure common plot regions. The maximum length required for y-axis labels among the list is determined and applied to the other plots. This assists in syncing the widths of ggplot objects for the purpose of align figures on a page.

Usage

sync.ylab.widths(gg.list, default.length = 2)

Value

A ggplot object is returned.

Arguments

gg.list

a list of ggplot objects (sync.ylab.widths)

default.length

set to 2

Author

Greg Cicconetti