ssd_label_comma | R Documentation |
Label numbers with significant digits and comma
ssd_label_comma(digits = 3, ..., big.mark = ",")
digits |
A whole number specifying the number of significant figures. |
... |
Unused. |
big.mark |
A string specifying used between every 3 digits to separate thousands on the x-axis. |
A "labelling" function that takes a vector x and
returns a character vector of length(x)
giving a label for each input value.
scales::label_comma()
ggplot2::ggplot(data = ssddata::anon_e, ggplot2::aes(x = Conc / 10)) +
geom_ssdpoint() +
ggplot2::scale_x_log10(labels = ssd_label_comma())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.