Description Usage Arguments Value Examples
Returns a numeric vector with custom break points. Break points are defined so as to isolate the highest positive value and lowest negative value, include zero, and split the remaining observations into groups of similar sizes.
1 | get_breaks(x, n = 9)
|
x |
A numeric vector |
n |
Number of groups defined by the break points |
A numeric vector with the break points
1 2 | get_breaks(rnorm(n = 100, mean = 0, sd = 100))
get_breaks(c(-100, seq(-80, -10, 10), 0, seq(10, 80, 10) 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.