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}
|