powered by
Function for formatting numeric labels
ez_labels( x, prepend = "", append = "", as_factor = FALSE, round = Inf, signif = Inf )
y
numeric
character
logical
numeric passed to round()
round()
numeric passed to signif()
signif()
ez_labels(10^(0:10)) ez_labels(2000, append = " apples") ez_labels(0:10, append = " apples", as_factor = TRUE) ez_labels(c(0, 0.1, 0.01, 0.001, 0.0001))
Run the code above in your browser using DataLab