View source: R/calender_data.R
calender_data | R Documentation |
Make the calendar data for plotting. Can be used alone if you want a more specialised plotting experience.
calender_data( month = Sys.Date(), headline_factor = 2, start_monday = TRUE, locale = NULL )
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. |
data.frame. Calendar data that works well with ggplot2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.