Description Usage Arguments Value
This function allows you to plot one time-series per DWD station for two DWD data sets (e.g. two different crops). Specific stations can be filtered beforehand. Furthermore, LOESS smoothening (local polynomial regression fitting) is applied.
1 | dwd_plot_2_ts(dwd_data_1, dwd_data_2, stat_ids, title, lab_1, lab_2)
|
dwd_data_1 |
tibble 1 containing DWD observation data (pre-processed, with station + phase information) which shall be plotted. |
dwd_data_2 |
tibble 2 containing additional DWD observation data. |
stat_ids |
station ID(s) of station(s) which shall be plotted (optional). If empty, all stations are plotted. |
title |
plot title (optional). |
lab_1 |
legend label data set 1 (optional). |
lab_2 |
legend label data set 2 (optional). |
The resulting time-series ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.