create_pretty_int_brks | R Documentation |
create_pretty_int_brks
will take an input of values and generate clean integer break points,
scaled by a multiplier variable.
create_pretty_int_brks(x, max_multiplier = 1.03)
x |
Data vector. |
max_multiplier |
Integer vector to control the scaling of the breaks. |
data_for_breaks <- c(1,2,3.8,5,25.5,60)
create_pretty_int_brks(data_for_breaks, max_multiplier = 1.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.