proc_colormap: Colormaps for numbers density and weight per group fields

View source: R/field_plots.R

proc_colormapR Documentation

Colormaps for numbers density and weight per group fields

Description

Default colormaps for numbers density (viridis) and weight per group (inferno). These two are chosen based on the regexes "_n$" and "_w$" respectively. Otherwise uses plasma.

Usage

proc_colormap(parname, n = 12)

Arguments

parname

String like "omega_n" or "epsilon_w"

n

Number of colors in the map

Value

Vector of colors, as from hcl.colors

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.