Description Usage Arguments Value Author(s) Examples
Visualise a timeline of several event metrics as 'lollipop' graphs.
1 2 | lolli_plot(data, metric = "int_max", event_count = 3,
xaxis = "date_start")
|
data |
Output from the |
metric |
One of |
event_count |
The number of top events to highlight. Default is 3. |
xaxis |
One of |
The function will return a graph of the intensity of the selected
metric along the y-axis versus either t
or event_no
.
The number of top events as per event_count
will be highlighted
in a brighter colour. This function differs in use from geom_lolli
in that it creates a stand alone figure. The benefit of this being
that one must not have any prior knowledge of ggplot2 to create the figure.
Albertus J. Smit and Robert W. Schlegel
1 2 3 4 5 6 7 8 | ts_dat <- make_whole(sst_NW_Atl)
res <- detect(ts_dat, climatology_start = "1983-01-01",
climatology_end = "2012-12-31")
## Not run:
lolli_plot(res, metric = "int_cum", event_count = 3, xaxis = "date_peak")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.