Calculate the breaks for a x axis numeric vector.
x_numeric_breaks(x_var_vctr, x_balance = FALSE, x_pretty_n = 6,
x_trans = "identity", x_zero = TRUE, mobile = FALSE)
A numeric vector for the x scale from which to determine breaks from.
Add balance to the y axis so that zero is in the centre of the x scale.
The desired number of intervals on the x axis, as calculated by the pretty algorithm. Defaults to 6.
A string specifying a transformation for the x axis scale, such as "log10" or "sqrt". Defaults to "identity".
TRUE or FALSE of whether the minimum of the x scale is zero. Defaults to TRUE.
Whether the plot is to be displayed on a mobile device. Defaults to FALSE. If within an app with the mobileDetect function, then use mobile = input$mobile.
A vector of breaks