| scale_fill_phines | R Documentation |
ggplot2 Scales for palettephines
scale_fill_phines(palette = "palay_harvest", discrete = TRUE, ...)
scale_color_phines(palette = "palay_harvest", discrete = TRUE, ...)
palette |
Palette name. |
discrete |
Logical, if TRUE returns a discrete scale. |
... |
Passed to ggplot2 scale functions. |
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.
library(ggplot2)
ggplot(mtcars, aes(x = wt, y = mpg, fill = factor(cyl))) +
geom_point(shape = 21, size = 3) +
scale_fill_phines("palay_harvest")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.