Generate a breaks vector of size n
with log log_trans spaced breaks.
Usage
breaks_log(n = 10, base = exp(1))
Details
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.
Note
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.
See also
Other breaks:
breaks_linear()
,
breaks_manual()
,
breaks_power()
,
breaks_symlog()
,
breaks_trans()