Description Usage Arguments Value Author(s)
View source: R/pretty_labels.R
The function creates pretty labels for the breaks used in discrete scales in ggplot2
1 | pretty_labels(breaks, separator_character = ",")
|
breaks |
Vector of breaks' values |
separator_character |
Character that is used to separate the values of the range shown in the legend. Default is ",". |
A caharacter vector with all the labels. The labels' lenght is equals to the length of the provided breaks +2, the extremes.
Matteo De Felice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.