\HeaderA{setfacets}{Set facetting formula and margins for a plot}{setfacets}
\keyword{hplot}{setfacets}
\begin{Description}\relax
Set the function that controls how the plot is facetted into multiple panels.
\end{Description}
\begin{Usage}
\begin{verbatim}setfacets(p = .PLOT, formula = . ~ . , margins = FALSE)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{p}] plot object, if not specified will use current plot
\item[\code{formula}] formula describing row and column layout, see \code{\LinkA{reshape}{reshape}} for more details
\item[\code{margins}] a vector of names giving which margins to display, can include grand\_row and grand\_col or uss TRUE to display all margins
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

