This function generates a grid of plots and tables, including a value box, data table, relative GPI plot, and total output plot.
output_display(
data = x$data,
time = time,
date_format = c("%d/%m/%Y"),
name = theatre,
relative_gpi_val = emissions,
gti_by = c("default", "month", "year"),
plot_val = carbon_price_credit,
plot_by = "default",
pdf = TRUE
)
A grid of plots and tables showing the value box, data table, relative GPI plot, and total output plot.
The data frame containing the data.
The variable representing the time dimension.
The date format for the time variable (optional, default: "%d/%m/%Y").
The variable representing the grouping variable.
The variable representing the relative GPI (Growth to Previous Index) value.
The grouping type for calculating the GTI ("default", "month", "year").
The variable to plot in the total output plot.
The grouping type for the total output plot ("default", "month", "year").
Whether to export the plots to a PDF file (default: TRUE).
The function utilises other auxiliary functions such as relative_gti() and total_output().