integer_breaks {ggbrain} | R Documentation |
breaks function to encourage integer-valued breaks, based on input from pretty
Description
breaks function to encourage integer-valued breaks, based on input from pretty
Usage
integer_breaks(n = 5, ...)
Arguments
n |
number of breaks (default = 5) |
... |
Additional arguments passed to the pretty() function |
Details
Code from here: https://joshuacook.netlify.app/post/integer-values-ggplot-axis/
Value
a function for generating integer-valued breaks on a continuous scale
[Package ggbrain version 0.8.1 Index]