Skip to contents

`week_axis()` adds labels to x axis on plots

Usage

week_axis(
  y_height = graphics::par("usr")[4],
  y_min = graphics::par("usr")[3],
  weeks = 52,
  factor = 0.15,
  language = "EN"
)

Arguments

y_height

numeric, value of plot y height. Default to `graphics::par("usr")[4]`.

y_min

numeric, value of minimum y height. Default to `graphics::par("usr")[3]`.

weeks

numeric, number of weeks to plot.

factor

numeric, factor used to determine position of calendar text.

language

character, one of c("FR", "EN")

Value

weekly labels to x axis on plot.