Description Usage Arguments Value Examples
Calculate the positions and labels of major and minor tick marks for a base 10 logarithmic axis.
1 | log10_ticks(x, label_zero = TRUE)
|
x |
A vector of axis values. Can be arbitrarily long but only the minimum and maximum are necessary. |
label_zero |
Whether or not to replace the smallest major label with
"0". This defaults to |
A list with the positions and labels of the major and minor tick
marks. The labels are formatted without trailing zeros using
formatC(labels, format = "fg")
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.