32 lines
806 B
R
32 lines
806 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}{Palette name from `pal_reach()` or `pal_agora()`}
|
|
|
|
\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_gradient(), used respectively when discrete is TRUE or FALSE}
|
|
}
|
|
\value{
|
|
A fill scale for ggplot
|
|
}
|
|
\description{
|
|
Fill scale constructor for REACH or AGORA colors
|
|
}
|