
Label numbers with significant digits and comma. If hc_value
is present in breaks, put on new line and make bold.
Source: R/scales.R
ssd_label_comma_hc.Rd
Label numbers with significant digits and comma.
If hc_value
is present in breaks, put on new line and make bold.
Value
A "labelling" function that takes a vector x and
returns a character vector of length(x)
giving a label for each input value.
Examples
ggplot2::ggplot(data = ssddata::anon_e, ggplot2::aes(x = Conc / 10)) +
geom_ssdpoint() +
ggplot2::scale_x_log10(labels = ssd_label_comma_hc(1.26))