Generate a breaks vector with pre-determined threshold values.
Details
Wraps thresholds
in the range of input data (which may be null or non-finite).
Thresholds that fall outside the range of input are omitted from the output.
See also
Other breaks:
breaks_linear()
,
breaks_log()
,
breaks_power()
,
breaks_symlog()
,
breaks_trans()
Examples
breaks_manual(0)(-10:10)
#> [1] -10 0 10
breaks_manual(c(-10, 0, 10))(-10:10)
#> [1] -10 0 10
breaks_manual(-1:1 * 1e6)(NULL)
#> [1] -Inf -1e+06 0e+00 1e+06 Inf