Prints a ggplot of selected variables over time.
1 |
x |
data.table |
vars |
Vector of characters - columns from x to be plotted. If left blank function plots all variables. |
date.index |
Character. The column in x that is the date variable. |
facet |
TRUE = facets plot by variable, scales = "free_y". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.