Description Usage Arguments Details See Also Examples
This function can be used to generate a palette of colors useful to plot
functional datasets with the plot
methods.
1 | fDColorPalette(N, hue_range = c(0, 360), alpha = 0.8, ...)
|
N |
number of different colors (ideally, functional observations). |
hue_range |
the range of hues in the HCL scheme. |
alpha |
the alpha channel parameter(s) of the colors (transparency). |
... |
additional parameters to be passed to |
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.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.