- df
A data.frame with date and value columns. / Ein Data Frame mit Datums- und Wertespalten
- datum_col
Name of the date column, default is "datum". / Name der Datumsspalte, Standard: "datum"
- value_col
Name of the value column. / Name der Wertespalte /
- weeks_back
Number of recent weeks or a length-2 numeric vector. / Anzahl der zurueckliegenden Wochen oder ein Vektor mit zwei Werten
- agg_fun
Aggregation function (e.g., "sum", "mean"). / Aggregationsfunktion, z.B. "sum", "mean"
- plottype
Optional plot type: 1 for all, 2 for hist+box, 3 for trend+box. / Optionaler Plottyp: 1 fuer alle, 2 fuer hist+box, 3 fuer trend+box
- save_plot
Logical, whether to save the plots. / Logisch, ob die Plots gespeichert werden sollen
- save_path
Folder to save the plots. / Zielpfad zum Speichern der Plots