find_panel: Find panels in a gtable

Description Usage Arguments Value

View source: R/facet-.r

Description

These functions help detect the placement of panels in a gtable, if they are named with "panel" in the beginning. find_panel returns the extend of the panel area, while panel_cols and panel_rows returns the columns and rows that contains panels respectively.

Usage

1
2
3
4
5

Arguments

table

A gtable

Value

A data.frame with some or all of the columns t(op), r(ight), b(ottom), and l(eft)


czxa/ggplot2 documentation built on Oct. 8, 2018, 12:11 a.m.