Uses y_time
to create the plots. Please see that
help topic and details here for other arguments to customize the plot.
wres_time(df, x = pm_axis_time(), y = pm_axis_wres(), ...)
wres_tafd(df, x = pm_axis_tafd(), y = pm_axis_wres(), ...)
wres_tad(df, x = pm_axis_tad(), y = pm_axis_wres(), ...)
A single plot.
Plots are generated using y_time
,
which then calls scatt
.
By default, the time unit is assumed
to be hours (hr
). See the xunit
argument
to y_time
to change the time unit.
See the xby
argument to y_time
for a
convenient way to change the breaks for the x-axis (time).
Since this function creates a scatter plot,
both the x
and y
columns must
be numeric.
df <- pmplots_data_obs()
wres_time(df)
#> `geom_smooth()` using formula = 'y ~ x'