pretty_cut.Rd
Cut values with pretty labels
pretty_cut(
values,
breaks,
format = function(d) d,
binding = "to",
spacing = " ",
under_text = "<",
over_text = ">",
...
)
a numeric vector which is to be converted to a factor by cutting.
a numeric vector of two or more unique cut points
a function specifying how to format values in the labels
a string binding two values in the label
a spacing string between elements in the label
a string taking the space of the lower value and binding if the lower value is `-Inf`
a string taking the space of the upper value and binding if the upper value is `-Inf`
additional arguments passed to `cut`
object, (potentially cached version)