Learn R Programming

lares (version 5.0.6)

trendsRelated: Google Trends: Related Plot

Description

This function creates a plot with Google Trend's related topics and queries, and let the user compare different keywords.

Usage

trendsRelated(gtrend, top = NA, title = NA, note = NA, exclude = NULL)

Arguments

gtrend

List. Result from gtrendsR::gtrends(keyword, geo, time)

top

Integer. Filter top n results only.

title

Character. Custom title for the plot.

note

Character. Add a note to the plot if needed.

exclude

Character vector. Which observations do you wish to exclude?

Value

plot for Google Trend's results input gtrend.

See Also

Other Exploratory: corr_cross(), corr_var(), crosstab(), df_str(), distr(), freqs_df(), freqs_list(), freqs_plot(), freqs(), lasso_vars(), missingness(), plot_cats(), plot_df(), plot_nums(), tree_var()

Other Scrapper: filesGD(), get_mp3(), holidays(), ip_data(), readGS(), splot_etf(), stocks_hist(), stocks_quote(), writeGS()

Other Google Trends: trendsTime()

Other Google: filesGD(), queryGA(), readGS(), trendsTime(), writeGS()