Description Usage Arguments Value Examples
A wrapper function to help generate timeline (with labels) visualisations easier.
1 | get_timeline_label(data_raw, clist = "ALL", xmin, xmax, n_max = 5)
|
data_raw |
A data table containing NOAA Earthquake data |
clist |
Character/Vector of grouping names eg "USA" from COUNTRY column. |
xmin |
POSIXct date - minimum date for timeline |
xmax |
POSIXct date - maximum date for timeline |
n_max |
Integer value to control number of labels per group to show |
A ggplot2 graphical object displying timeline earthquate data with labels.
1 2 3 4 | ## Not run:
get_timeline_label(eq_data_raw, c("USA","CHINA"),"2010-01-01","2016-01-01", n_max = 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.