trend_plot_all: Creates a PDF with plots for selected GLOBIOM output...

Description Usage Arguments Details Value Examples

View source: R/trend_plot.R

Description

Creates a PDF file with plots for selected GLOBIOM VAR_ID, ITEM_AG and VAR_UNIT combinations.

Usage

1
trend_plot_all(df_gl, df_hs, path = NULL, file_name = NULL, comb = NULL)

Arguments

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 globiom_trend_plots_YYYY-MM-DD.pdf.

comb

Output combinations used for plotting. Default is all_output_comb(df_gl) as present in main_output_comb.

Details

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.

Value

None but a PDF file is saved in the working directory or a specified location.

Examples

1
2
3
4
5
6
7
## Not run: 
trend_plot_all(df_gl = globiom,
               df_hs = hist,
               path = "c:/temp",
               file_name = "globiom_output")

## End(Not run)

iiasa/GLOBIOMtools documentation built on April 6, 2020, 7:42 a.m.