Description Usage Arguments Value Examples
Plot a faceted time series – multiple time series panels
1 | ggts_facet(.data, ...)
|
.data |
the data to be plotted. Either a dataframe with a time column (e.g. a "Date", "POSIXlt", or "POSIXct" object), a ts or mts object, zoo object, or xts object. |
... |
arguments to be passed to dplyr select. If a dplyr
helper frunction is used, e.g. |
a ggplot
with the faceted time series
1 2 3 4 5 6 7 8 9 10 11 12 | data(economis)
ggts_facet(economics)
ggts_facet(economics, psavert, uempmed)
library(xts)
data(AAPL.data) ##xts object
ggts_facet(AAPL.data)
ggts_facet(AAPL.data, -dplyr::matches("Volume"))
library(AER)
data(USMacroSW) ##mts object
ggts_facet(USMacroSW)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.