Description Usage Arguments Details Value
this is an wrapper for genbreaks which is more straightforward
1 | generate_breaks(x, n, midpoint = NA, center = F)
|
x |
a matrix or vector |
n |
desired number of intervals, which corresponds to n+1 breaks |
midpoint |
midpoint. default is NA, which will be recomputed as the middle point of the value ladder (mean of c(min, max)). This is equivalent to no midpoint at all, and hence the default way |
center |
whether to generate breaks centering 0 by expanding the values and hence, waste some colors (not recommended if the data is skewed) |
enhenced with midpoint
a vector of break points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.