graph_models: Compare models predictions

View source: R/graph_models.R

graph_modelsR Documentation

Compare models predictions

Description

Compare models predictions

Usage

graph_models(
  ...,
  start_graph = NULL,
  title = NULL,
  save = FALSE,
  filename = NULL,
  legend_text_size = 12,
  axis_text_size = 11,
  annotation_size = 5.5,
  date_breaks = "1 year",
  annotation_x = 45,
  annotation_y = -0.08
)

Arguments

...

Objects of class etalonnage.

start_graph

A character indicating the first date to plot, must be of the form "YYYY-MM-01" - if missing defaults to NULL.

title

A character indicating a title for the plot - if missing defaults to NULL.

save

A boolean - if missing defaults to FALSE.

filename

A character, file name to create on disk - if missing defaults to NULL.

legend_text_size

A numeric - if missing defaults to 12.

axis_text_size

A numeric - if missing defaults to 11.

annotation_size

A numeric - if missing defaults to 5.5.

date_breaks

A character indicating date breaks on the x axis of the plot - if missing defaults to "1 year".

annotation_x

A numeric indicating the position of the annonation on x-axis - if missing defaults to 45 (days).

annotation_y

A numeric indicating the position of the annonation on y-axis - if missing defaults to -0.08 (8 %).

Value

A ggplot2 plot.


aflatoune/approche-directe documentation built on May 30, 2022, 1:56 p.m.