calender_data: Make calendar data

View source: R/calender_data.R

calender_dataR Documentation

Make calendar data

Description

Make the calendar data for plotting. Can be used alone if you want a more specialised plotting experience.

Usage

calender_data(
  month = Sys.Date(),
  headline_factor = 2,
  start_monday = TRUE,
  locale = NULL
)

Arguments

month

either a date or name of a month in the current locale.

headline_factor

the factor by which the name of the month is larger then the remaining text (2 means twice the size).

start_monday

If TRUE the week starts on Monday, otherwise starts on Sunday.

locale

provide locale if you want to use non English names for months and days.

Value

data.frame. Calendar data that works well with ggplot2.


JBGruber/wallpapr documentation built on Oct. 7, 2022, 1:32 p.m.