You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/calendR.R
+53-12Lines changed: 53 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -38,13 +38,15 @@
38
38
#' @param mbg.col Background color of the month names. Defaults to "white".
39
39
#' @param legend.pos If `gradient = TRUE`, is the position of the legend. It can be set to `"none"` (default), `"top"`, `"bottom"`, `"left"` and `"right"`.
40
40
#' @param legend.title If `legend.pos != "none"` and `gradient = TRUE`, is the title of the legend.
41
-
#' @param pdf Boolean. If `TRUE`, saves the calendar in the working directory in A4 format.
42
-
#' @param doc_name If `pdf = TRUE`, is the name of the generated file (without the file extension). If not specified, creates files of the format: `Calendar_year.pdf` for yearly calendars and `Calendar_month_year.pdf` for monthly calendars.
43
41
#' @param bg.col Background color of the calendar. Defaults to "white".
44
42
#' @param bg.img Character string containing the URL or the local directory of a image to be used as background.
43
+
#' @param margin Numeric. Allows controlling the margin of the calendar.
45
44
#' @param lunar Boolean. If `TRUE`, draws the lunar phases. Only available for monthly calendars.
46
45
#' @param lunar.col If `lunar = TRUE`, is the color of the hide part of the moons.
47
46
#' @param lunar.size If `lunar = TRUE`, is the size of the representation of the moons.
47
+
#' @param pdf Boolean. If `TRUE`, saves the calendar in the working directory in A4 format.
48
+
#' @param doc_name If `pdf = TRUE`, is the name of the generated file (without the file extension). If not specified, creates files of the format: `Calendar_year.pdf` for yearly calendars and `Calendar_month_year.pdf` for monthly calendars.
49
+
#' @param papersize PDF paper size. Possible options are `"A6"`, `"A5"`, `"A4"` (default), `"A3"`, `"A2"`, `"A1"` and `"A0"`.
0 commit comments