Learn R Programming

ssdtools (version 2.7.0)

ssd_element_text_hc: Theme Element for Hazard Concentration Axis Labels

Description

A ggplot2::element_text() that draws multi-line labels in bold. It is required to make the hazard concentration label produced by ssd_label_comma_hc() bold.

Usage

ssd_element_text_hc(...)

Value

An object of class element_text_hc.

Arguments

...

Arguments passed to ggplot2::element_text().

See Also

ssd_label_comma_hc()

Examples

Run this code
ggplot2::ggplot(data = ssddata::anon_e, ggplot2::aes(x = Conc / 10)) +
  geom_ssdpoint() +
  ggplot2::scale_x_log10(labels = ssd_label_comma_hc(1.26)) +
  ggplot2::theme(axis.text.x = ssd_element_text_hc())

Run the code above in your browser using DataLab