scale_phines: ggplot2 Scales for palettephines

scale_fill_phinesR Documentation

ggplot2 Scales for palettephines

Description

ggplot2 Scales for palettephines

Usage

scale_fill_phines(palette = "palay_harvest", discrete = TRUE, ...)

scale_color_phines(palette = "palay_harvest", discrete = TRUE, ...)

Arguments

palette

Palette name.

discrete

Logical, if TRUE returns a discrete scale.

...

Passed to ggplot2 scale functions.

Value

A ggplot2 scale object (class ScaleDiscrete or ScaleContinuous) to be added to a ggplot object. This maps data values to the phenological colors of the Philippines.

Examples

library(ggplot2)
ggplot(mtcars, aes(x = wt, y = mpg, fill = factor(cyl))) +
   geom_point(shape = 21, size = 3) +
   scale_fill_phines("palay_harvest")

palettephines documentation built on April 25, 2026, 1:07 a.m.