File: find_panel.Rd

package info (click to toggle)
r-cran-ggplot2 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,944 kB
  • sloc: sh: 15; makefile: 5
file content (28 lines) | stat: -rw-r--r-- 710 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/facet-.R
\name{find_panel}
\alias{find_panel}
\alias{panel_cols}
\alias{panel_rows}
\title{Find panels in a gtable}
\usage{
find_panel(table)

panel_cols(table)

panel_rows(table)
}
\arguments{
\item{table}{A gtable}
}
\value{
A data.frame with some or all of the columns t(op), r(ight),
b(ottom), and l(eft)
}
\description{
These functions help detect the placement of panels in a gtable, if they are
named with "panel" in the beginning. \code{find_panel()} returns the extend of
the panel area, while \code{panel_cols()} and \code{panel_rows()} returns the
columns and rows that contains panels respectively.
}
\keyword{internal}