plot_epicurve {phylepic} | R Documentation |
Plot epidemic curve panel
Description
Plot epidemic curve panel
Usage
plot_epicurve(
phylepic,
fill = NULL,
weeks = TRUE,
week_start = getOption("phylepic.week_start")
)
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 |
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_calendar()
,
plot_tree()
[Package phylepic version 0.2.0 Index]