% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aes.R
\name{aes}
\alias{aes}
\title{Construct aesthetic mappings}
\usage{
aes(...)
}
\arguments{
\item{...}{Name-value pairs of aesthetics and expressions, e.g.
\code{aes(displ, hwy, color = class)}. Supported aesthetics: \code{x}, \code{y},
\code{color} (alias \code{colour}), \code{size}.}
}
\value{
An object of class \code{ggnext_aes}.
}
\description{
\code{aes()} captures unevaluated expressions that describe how columns of the
data map onto visual properties. The first two unnamed arguments are taken
as \code{x} and \code{y}. Expressions are evaluated later, against the layer data,
in the environment where \code{aes()} was called.
}
\examples{
aes(speed, dist)
aes(x = speed, y = dist, color = gear)
}
