Skip to contents

Format break labels

Usage

label_breaks(breaks, lab_accuracy = 0.1, replace_Inf = TRUE)

Arguments

breaks

numeric vector of breaks

lab_accuracy

accuracy of labels, passed to scales::number

replace_Inf

if Inf is your final break, replace with a + sign in the label?