Skip to contents

Saves pdf containing the concatenated figures

Usage

save_to_pdf(
  list_of_plots,
  model_name,
  type_of_output,
  pdf_file_path,
  forecast_date,
  model_type,
  n_row = 3,
  n_col = 2,
  ...
)

Arguments

list_of_plots

the output from targets of a list of ggplot objects

type_of_output

what the pdf is a plot of

pdf_file_path

where we want to save the pdf within the output file path

forecast_date

date of forecast

model_type

which model we are running

n_row

number of rows of figures on a page

n_col

number of columns of figures on a page

...
output_dir

where to save the output