View source: R/colors_pallettes.R
color_ranges_Blue_Red_heat_map | R Documentation |
Returns color pallete from red to blue with number of colors for defined ranges
color_ranges_Blue_Red_heat_map(ranges, colors_initial)
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. |
color scheme for number
color_ranges_Blue_Red_heat_map(ranges=c(-Inf, -100, -50, 0, 50, 100, Inf), colors_initial="white")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.