diff --git a/R/scales.R b/R/scales.R index d7a08bd..135ac0a 100644 --- a/R/scales.R +++ b/R/scales.R @@ -9,6 +9,8 @@ #' @param ... `ANY` \cr #' Arguments passed to [ggplot2::scale_color_manual()]. #' +#' @return A scale to be used with a \pkg{ggplot2} object. +#' #' @examples #' data <- data.frame( #' x = 1:10, y = 15:6, diff --git a/man/lgbtq-scales.Rd b/man/lgbtq-scales.Rd index 63db978..c2c7a0d 100644 --- a/man/lgbtq-scales.Rd +++ b/man/lgbtq-scales.Rd @@ -20,6 +20,9 @@ Name of the flag the colors are based on.} \item{...}{\code{ANY} \cr Arguments passed to \code{\link[ggplot2:scale_manual]{ggplot2::scale_color_manual()}}.} } +\value{ +A scale to be used with a \pkg{ggplot2} object. +} \description{ These functions provide a shorthand for passing \code{\link[=palette_lgbtq]{palette_lgbtq()}} to \code{values} parameter of an appropriate ggplot2 scale.