gtrendsR (version 1.4.2)

plot.gtrends: Plot Google Trends interest over time

Description

Plot Google Trends interest over time

Usage

# S3 method for 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

Run this code
# NOT RUN {
res <- gtrends("nhl", geo = c("CA", "US"))
plot(res)
# }

Run the code above in your browser using DataCamp Workspace