ez_labels {ezplot} | R Documentation |
Function for formatting numeric labels
Description
Function for formatting numeric labels
Usage
ez_labels(
x,
prepend = "",
append = "",
as_factor = FALSE,
round = Inf,
signif = Inf
)
Arguments
x |
numeric |
prepend |
character |
append |
character |
as_factor |
logical |
round |
numeric passed to |
signif |
numeric passed to |
Value
y
Examples
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))
[Package ezplot version 0.7.13 Index]