| derive_ci_colors | R Documentation |
Computes confidence interval fill colors that harmonize with the selected color palette and theme style. This ensures visual consistency between the observation panel colors and the bootstrap density shading.
derive_ci_colors(palette = "default", theme_style = "classic")
palette |
Character string specifying the color palette: "default", "okabe_ito", or "viridis" |
theme_style |
Character string specifying the theme: "classic" or "modern" |
A character vector of three hex colors with alpha for low, middle, and high CI regions
derive_ci_colors("default", "classic")
derive_ci_colors("okabe_ito", "modern")
derive_ci_colors("viridis", "classic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.