plot_calendar {phylepic} | R Documentation |
Plot calendar panel
Description
Plot calendar panel
Usage
plot_calendar(
phylepic,
fill = NULL,
weeks = TRUE,
week_start = getOption("phylepic.week_start"),
labels = NULL,
labels.params = list(size = 3, fontface = "bold", colour = "white")
)
Arguments
phylepic |
Object of class "phylepic". |
fill |
Variable in metadata table to use for the fill aesthetic (tidy-eval). |
weeks |
When |
week_start |
Day the week begins (defaults to Monday).
Can be specified as a case-insensitive English weekday name such as "Monday"
or an integer. Since you generally won't want to mix definitions, it is
more convenient to control this globally with the |
labels |
Controls the format of date labels on calendar tiles.
If |
labels.params |
Passed to |
Value
If phylepic
is specified returns a ggplot, otherwise a function
that when passed a "phylepic" object produces a ggplot for use with
plot.phylepic()
.
See Also
Other phylepic plots:
plot.phylepic()
,
plot_bars()
,
plot_epicurve()
,
plot_tree()