map_to_color {GSSTDA} | R Documentation |
Map to color
Description
Auxiliary function that maps a numeric vector, the average node filtering function values, to a color vector.
Usage
map_to_color(x, limits = NULL)
Arguments
x |
A vector of numeric values storing the average filtering function values found in the samples placed into a specific node. |
limits |
A two element numeric vector including the range of values. This is optional. |
Value
A vector of the same length of x with colors ranging from blue to red.
[Package GSSTDA version 1.0.0 Index]