breaks_log | R Documentation |
Generate a breaks vector of size n
with log log_trans spaced breaks.
breaks_log(n = 10, base = exp(1))
n |
< |
base |
< |
Input range must be finite and either be strictly negative or strictly positive; it must not cross, nor include 0.
If input range is non-finite, an empty vector is returned.
This function has a different goal to scales::breaks_log: it produces evenly spaced log-breaks for use with d3-scale, it doesn't produce breaks with pretty labels.
Other breaks:
breaks_linear()
,
breaks_manual()
,
breaks_power()
,
breaks_symlog()
,
breaks_trans()
breaks_log(5)(-10:-1)
breaks_log(5)(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.