scale_colour_ssd | R Documentation |
The functions were designed for coloring different groups in a plot of SSD data.
scale_colour_ssd(...)
scale_color_ssd(...)
scale_fill_ssd(...)
... |
Arguments passed to |
scale_color_ssd()
: Discrete color-blind scale for SSD Plots
scale_fill_ssd()
: Discrete color-blind scale for SSD Plots
Other ggplot:
geom_hcintersect()
,
geom_ssdpoint()
,
geom_ssdsegment()
,
geom_xribbon()
,
ssd_pal()
# Use the color-blind palette for a SSD plot
ssd_plot(ssddata::ccme_boron, boron_pred, shape = "Group", color = "Group") +
scale_colour_ssd()
# Use the color-blind palette for a histogram of concentrations
ggplot2::ggplot(ssddata::ccme_boron, ggplot2::aes(x = Species, y = Conc, fill = Group)) +
ggplot2::geom_col() +
scale_fill_ssd() +
ggplot2::theme(axis.text.x = ggplot2::element_text(angle = 90, vjust = 0.5, hjust = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.