plot.gtrends: Plot Google Trends interest over time

View source: R/gtrends.R

plot.gtrendsR Documentation

Plot Google Trends interest over time

Description

Plot Google Trends interest over time

Usage

## 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

## Not run: 
res <- gtrends("nhl", geo = c("CA", "US"))
plot(res)

## End(Not run)

gtrendsR documentation built on May 23, 2022, 5:08 p.m.