R/base-breaks.R
acid_pretty_breaks.Rd
Pretty breaks that resemble the base plotting engine
acid_pretty_breaks(n = 5L)
integer(1). Desired number of breaks.
integer(1)
function.
function
Updated 2019-07-29.
grDevices::axisTicks().
grDevices::axisTicks()
scales::log_breaks().
scales::log_breaks()
scales::trans_breaks().
scales::trans_breaks()
Adapted from a Stack Overflow post: https://stackoverflow.com/questions/14255533
acid_pretty_breaks() #> function (x) #> { #> axisTicks(usr = log10(range(x, na.rm = TRUE)), log = TRUE, #> axp = NULL, nint = n) #> } #> <bytecode: 0x7fa95fcd3d60> #> <environment: 0x7fa95fcd38c8>