Description Usage Arguments Value Examples
View source: R/geom_NOAA_timeline.R
For DEATHS feature returns "Total nb of deaths", for MAG feature returns "Richter scale magnitude" and for any other return the feature name in title case.
1 | eq_legend_timeline(quo)
|
quo |
quosure corresponding to mapping of a variable |
Character
1 2 3 4 5 6 7 8 9 | ## Not run:
mapping <- ggplot2::aes(x=DATE,fill=MAG,size=DEATHS)
eq_legend_timeline(mapping$x)
eq_legend_timeline(mapping$fill)
"Total nb of deaths"
eq_legend_timeline(mapping$size)
"Richter scale magnitude"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.