visualizeR/man/scale_fill.Rd

32 lines
805 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scale.R
\name{scale_fill}
\alias{scale_fill}
\title{Fill scale constructor for REACH or AGORA colors}
\usage{
scale_fill(
initiative = "reach",
palette = "main",
discrete = TRUE,
reverse = FALSE,
...
)
}
\arguments{
\item{initiative}{Either "reach" or "agora}
\item{palette}{Character name of palette in drsimonj_palettes}
\item{discrete}{Boolean indicating whether color aesthetic is discrete or not}
\item{reverse}{Boolean indicating whether the palette should be reversed}
\item{...}{Additional arguments passed to discrete_scale() or
scale_fill_gradientn(), used respectively when discrete is TRUE or FALSE}
}
\value{
A fill scale for ggplot
}
\description{
Fill scale constructor for REACH or AGORA colors
}