This function creates equally spaced axis ticks for ggplot graphs. Should be used as input for the "break" argument of scale_continuous function in a ggplot function.
1 | number_ticks(n = 10)
|
n |
Number of ticks |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.