Description Usage Arguments Value Examples
A wrapper function to help generate timeline visualisations easier.
1 | get_timeline(data_raw, clist = "ALL", xmin, xmax)
|
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 |
A ggplot2 graphical object displaying timeline of earthquakes data
1 2 3 4 | ## Not run:
get_timeline(eq_data_raw, c("USA","IRAN"),"1970-01-01","2016-01-01")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.