phines: Generate Phenological Palettes

View source: R/palettes.R

phinesR Documentation

Generate Phenological Palettes

Description

Generate Phenological Palettes

Usage

phines(name, n = NULL, direction = 1)

Arguments

name

Palette name (palay_harvest, mangga_pico, coral_bleach, red_tide_watch, forest_transition)

n

Number of colors. If NULL, returns the anchor colors.

direction

1 for standard, -1 for reversed.

Value

A character vector of hex colors. If n is NULL, returns the original anchor colors; otherwise, returns an interpolated vector of length n for smooth gradients.

Examples

phines("palay_harvest", n = 5)
phines("mangga_pico", direction = -1)

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