color_ranges_Blue_Red_heat_map {HDXBoxeR} | R Documentation |
Returns color pallete from red to blue with number of colors for defined ranges
Description
Returns color pallete from red to blue with number of colors for defined ranges
Usage
color_ranges_Blue_Red_heat_map(ranges, colors_initial)
Arguments
ranges |
vector of numbers. Should have the same mumber of positive and negative values and contain 0. |
colors_initial |
additional color that should be first in the pallette. |
Value
color scheme for number
Examples
color_ranges_Blue_Red_heat_map(ranges=c(-Inf, -100, -50, 0, 50, 100, Inf), colors_initial="white")
[Package HDXBoxeR version 0.0.2 Index]