R/trend_plot.R
trend_plot_all.Rd
Creates a PDF file with plots for selected GLOBIOM VAR_ID, ITEM_AG and VAR_UNIT combinations.
trend_plot_all(df_gl, df_hs, path = NULL, file_name = NULL, comb = NULL)
df_gl | Data frame with globiom output. |
---|---|
df_hs | Data frame with historical data aggregated to GLOBIOM nomenclature. |
path | Path where the PDF file will be saved. Default is the working directory. |
file_name | Name of the PDF file that is generated. Default is
|
comb | Output combinations used for plotting. Default is
|
None but a PDF file is saved in the working directory or a specified location.
Plots are produced for a standard set of key VAR_ID, ITEM_AG and VAR_UNIT
combinations stored in output_comb_base
unless specified otherwise.
Plots are only produced for output combinations that exist in the data.
if (FALSE) { trend_plot_all(df_gl = globiom, df_hs = hist, path = "c:/temp", file_name = "globiom_output") }