% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{Facet}
\alias{Facet}
\title{Facet: split a plot into panels by data values}
\usage{
Facet(
  vars = character(0),
  ncol = NULL,
  nrow = NULL,
  scales = character(0),
  type = character(0)
)
}
\arguments{
\item{vars}{Character vector of faceting variable names.}

\item{ncol, nrow}{Panel grid shape (\code{facet_wrap} only; \code{NULL} auto-sizes).}

\item{scales}{\code{"fixed"} (shared axes, the default) or \code{"free"},
\code{"free_x"}, \code{"free_y"} (per-panel axes).}

\item{type}{\code{"wrap"} or \code{"grid"}.}
}
\value{
An S7 object of class \code{Facet}; usually built by \code{\link[=facet_wrap]{facet_wrap()}} or \code{\link[=facet_grid]{facet_grid()}}.
}
\description{
Base class for faceting. Created by \code{\link[=facet_wrap]{facet_wrap()}} / \code{\link[=facet_grid]{facet_grid()}}.
}
