Function to calculate deltas from a GCAM base year value
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
Default = NULL. Input data as R dataframe or CSV. |
baseline |
Default = NULL. Baseline data to apply deltas to. |
start_year |
Default = 2015. |
save |
Default = TRUE. Whether data should be printed as a csv or not. |
diagnostics |
Default = FALSE. Whether diagnostic figures should be produced. |
diagnostics_n |
Default = 20. Number of sub-plots in each diagnostic figure. |
diagnostics_col |
Default = NULL. Which column to plot diagnostics for. |
filename |
Default = NULL |
folder |
Default = NULL |
output_type |
Default = "wide". Output dimensions long or wide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.