plot.gtrends: Plot Google Trends interest over time

Description Usage Arguments Value Examples

View source: R/gtrends.R

Description

Plot Google Trends interest over time

Usage

1
2
## S3 method for class 'gtrends'
plot(x, ...)

Arguments

x

A gtrends object.

...

Additional parameters passed on in method dispatch. Currently not used.

Value

A ggplot2 object is returned silently.

Examples

1
2
3
4
5
## Not run: 
res <- gtrends("nhl", geo = c("CA", "US"))
plot(res)

## End(Not run)

gtrendsR documentation built on Feb. 23, 2021, 5:13 p.m.