View source: R/scale_break_functions.R
integer_breaks | R Documentation |
breaks function to encourage integer-valued breaks, based on input from pretty
integer_breaks(n = 5, ...)
n |
number of breaks (default = 5) |
... |
Additional arguments passed to the pretty() function |
Code from here: https://joshuacook.netlify.app/post/integer-values-ggplot-axis/
a function for generating integer-valued breaks on a continuous scale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.