Description Usage Arguments Value
Create an object df_epidemic
1 2 | prepare_df(dates, group_color, groupe_facet = NA, period_limit = "week",
id = NULL)
|
dates |
Vector of dates |
group_color |
Vector of character |
groupe_facet |
Vector of character |
period_limit |
A character vector of size 1. Either "day", "week" (default) or "month". |
id |
Vector of character. The id of each obs. If NULL, then id will be autoassigned in the order of the dates. |
A data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.