Rdocumentation
powered by
Learn R Programming
ggsubplot (version 0.3.1.9000)
interval_breaks: Pick breaks for interval (1d) bins.
Description
Specify either
bins
or
binwidth
.
Usage
interval_breaks(bins = 10, binwidth = NULL, origin = NULL, range = NULL)
Arguments
bins
Desired number of bins
binwidth
Desired bin width
origin
Desired origin of first bin
range
Range of values to use, if different to range of data.
Value
A function that takes a single parameter, a numeric x specifying the data for which breaks are needed, and returns a vector of breaks.