View source: R/mars_plotting_functions.R
marsOvertoppingPlot | R Documentation |
Return the gpglot object, with the metrics added to the object as a tableGrob annotation
marsOvertoppingPlot(
data,
design_storm,
event_dates = NULL,
event_descriptions = NULL
)
data |
dataframe, a data frame with a unique row each containing ow_uid, radar_event_uid, ow_suffix, eventdatastart_edt, smp_id, eventavgintensity_inhr, eventpeakintensity_inhr, eventdepth_in, and overtop |
design_storm |
num, a numeric value fro the design stomr in inches, see |
event_dates |
date, a vector of dates to show up as major events in the monitoring locations history (maintenance, retrofit, etc.) |
event_descriptions |
char, a vector of strings corresponding to labels fo each major event on the plot (eg, "pipe jetting", "filter bag replaced") |
Output ggplot object plotting overtopping, event peak intensity, and date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.