View source: R/show_enteromap.R
show_enteromap | R Documentation |
Map Enterococcus results by month, year, and location
show_enteromap(
fibdata,
yrsel,
mosel,
areasel = NULL,
wetdry = FALSE,
precipdata = NULL,
temporal_window = NULL,
wet_threshold = NULL,
addsta = FALSE
)
fibdata |
data frame of Enterococcus sample data as returned by |
yrsel |
optional numeric to filter data by year |
mosel |
optional numeric to filter data by month |
areasel |
optional character string to filter output by stations in the |
wetdry |
logical; if |
precipdata |
input data frame as returned by |
temporal_window |
numeric; required if |
wet_threshold |
numeric; required if |
addsta |
logical to add station labels to the map, default |
Placing the mouse cursor over an item on the map will reveal additional information about a station.
A leaflet
map for the selected year, month, and area showing stations and FIB concentration category
anlz_enteromap
for details on the categories
show_enteromap(enterodata, yrsel = 2020, mosel = 9)
# wet/dry samples
show_enteromap(enterodata, yrsel = 2020, mosel = 9, wetdry = TRUE,
temporal_window = 2, wet_threshold = 0.5)
# Old Tampa Bay only
show_enteromap(enterodata, yrsel = 2020, mosel = 9, areasel = "Old Tampa Bay")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.