Shared plots for visualizing FLARE output
All new functions should use the following argument convention:
-
datais the first argument and is the data frame being plotted. It should be already filtered to the site and reference_datetime. It can have multiple depths. No default. -
depthsis the second argument and is a vector of the depths to be plotted. Defaults to0.5 -
tzoneis the third argument and it is the time zone for the x-axis, if it is a time-series plot. Default is"America/New_York" -
ylimsis the fourth argument and is a two element vector of the lower and upper range of the y-axis. Defaults toc(-5,35) -
site_nameis the full name of a site if the plot includes it in the title. Defaults to blank"" -
As we add more plots, we will add more conventions here
plot_temp_single_panel <- function(data, depths = 0.5, tzone = "America/New_York", ylims = c(-5,35), site_name = "")