Description Usage Arguments Examples
This function creates a data.frame
of the class trend_facet
,
which has its own plot method which is a faceted plot.
1 | trend_facet(x, ...)
|
x |
A |
... |
ignored. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## Not run:
library(dplyr)
(out <- gtrend_scraper("tyler.rinker@gmail.com", "password", "dog bite"))
trend_facet(out) %>%
plot
plotflow::unbalanced_facet_axis(trend_facet(out) %>%
plot(ncol=3))
plotflow::unbalanced_facet_axis(trend_facet(out) %>%
plot(rect.alpha=.4))
library(dplyr)
out <- gtrend_scraper("tyler.rinker@gmail.com", "password",
c("ebola", "sars", "hiv", "aids", "influenza", "flu", "the cold"))
trend2long(out) %>%
plot()
trend2long(out) %>%
trend_facet %>%
plot
out %>%
trend_facet %>%
plot
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.