sync.ylab.widths {figuRes2}R Documentation

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)

Arguments

gg.list

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

default.length

set to 2

Value

A ggplot object is returned.

Author(s)

Greg Cicconetti


[Package figuRes2 version 1.0.0 Index]