plotTweets: plotTweets

Description Usage Arguments Value Examples

Description

Plots a dataframe in order to visualize the sum of hashtags in a given time interval.

Usage

1
plotTweets(data, tophashtags, interval)

Arguments

data

dataframe to plot created by createTwitterTimeSeries()

tophashtags

number of hashtags to plot.

interval

specified time interval. Relevant for the x-axis of the plot.

Value

plot of the given dataframe

Examples

1
2
3
4
5
#plots the top 10 hashtags
#plotTweets(data,10)
#interval <- createIntervalVector(c("2016-01-15 20:00:00", "2016-01-16 00:10:00"),9)
#interval
#plotTweets(data,10, interval)

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.