Plot calendar panel
Arguments
- phylepic
Object of class "phylepic".
- fill
Variable in metadata table to use for the fill aesthetic (tidy-eval).
- weeks
When
TRUE
, bin the date axis by weeks. Replaced bybinned = TRUE
paired with a suitable date scale.- week_start
See
week_breaks()
.- binned
When
TRUE
, bin the date axis by the scale breaks.- labels
Controls the format of date labels on calendar tiles. If
NULL
, no labels are drawn. If a character scalar, controls the date format (seestrptime()
).- labels.params
Passed to
ggplot2::geom_text()
iflabels
are drawn.
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()