dwd_plot_2_ts: Plot one time-series per DWD station for two crops.

Description Usage Arguments Value

Description

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.

Usage

1
dwd_plot_2_ts(dwd_data_1, dwd_data_2, stat_ids, title, lab_1, lab_2)

Arguments

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).

Value

The resulting time-series ggplot.


malinfischer/phenoTS documentation built on May 14, 2019, 12:56 a.m.