Lay out panels in a calendar format
facet_calendar(date, format = "%b %d", week_start = getOption("lubridate.week.start", 1), nrow = NULL, ncol = NULL, scales = "fixed", shrink = TRUE, dir = "h", labeller = "label_value", strip.position = "top")
A variable that contains dates will be mapped in the calendar.
A character string, such as
Day on which week starts following ISO conventions -
1 means Monday, 7 means Sunday (default). You can set
Number of rows and columns defined for "monthly" calendar
Should scales be fixed (
Direction of calendar: "h" for horizontal (the default) or "v" for vertical.
A function that takes one data frame of labels and
returns a list or data frame of character vectors. Each input
column corresponds to one factor. Thus there will be more than
one with formulae of the type
By default, the labels are displayed on the top of
the plot. Using
A monthly calendar is set up as a 5 by 7 layout matrix. Each month could extend over six weeks but in these months is to wrap the last few days up to the top row of the block.
frame_calendar for a compact calendar display, by quickly transforming the data.