File: combine_vars.Rd

package info (click to toggle)
r-cran-ggplot2 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,944 kB
  • sloc: sh: 15; makefile: 5
file content (27 lines) | stat: -rw-r--r-- 809 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/facet-.R
\name{combine_vars}
\alias{combine_vars}
\title{Take input data and define a mapping between faceting variables and ROW,
COL and PANEL keys}
\usage{
combine_vars(data, env = emptyenv(), vars = NULL, drop = TRUE)
}
\arguments{
\item{data}{A list of data.frames, the first being the plot data and the
subsequent individual layer data}

\item{env}{The environment the vars should be evaluated in}

\item{vars}{A list of quoted symbols matching columns in data}

\item{drop}{should missing combinations/levels be dropped}
}
\value{
A data.frame with columns for PANEL, ROW, COL, and faceting vars
}
\description{
Take input data and define a mapping between faceting variables and ROW,
COL and PANEL keys
}
\keyword{internal}