This function can be used to generate a palette of colors useful to plot
functional datasets with the plot
methods.
fDColorPalette(N, hue_range = c(0, 360), alpha = 0.8, ...)
number of different colors (ideally, functional observations).
the range of hues in the HCL scheme.
the alpha channel parameter(s) of the colors (transparency).
additional parameters to be passed to scales::hue_pal
The function, built around scales::hue_pal
, allows to set up the
HCL parameters of the set of colors desired, and besides to set up the
alpha channel value.