% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scales.R
\name{scale_color_pequod_d}
\alias{scale_color_pequod_d}
\alias{scale_colour_pequod_d}
\alias{scale_fill_pequod_d}
\title{Pequod discrete colour / fill scales for ggplot2}
\usage{
scale_color_pequod_d(palette = "crew", reverse = FALSE, direction = 1, ...)

scale_colour_pequod_d(palette = "crew", reverse = FALSE, direction = 1, ...)

scale_fill_pequod_d(palette = "crew", reverse = FALSE, direction = 1, ...)
}
\arguments{
\item{palette}{Palette name. See [palette_pequod()].}

\item{reverse}{Reverse the palette order.}

\item{direction}{`+1` (default) or `-1` to flip the palette.}

\item{...}{Further arguments passed to [ggplot2::discrete_scale()].}
}
\value{
A ggplot2 scale.
}
\description{
Wraps [palette_pequod()] in a [ggplot2::discrete_scale()] so it can
be dropped into any ggplot that uses a discrete colour or fill
aesthetic.
}
\examples{
library(ggplot2)
ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) +
  geom_point() +
  scale_color_pequod_d(palette = "crew")
}
