createIntervalVector: createIntervalVector

Description Usage Arguments Value Examples

Description

Creates a time interval vector. Interval parameters passed may be an unixtimestamp (either in seconds or miliseconds), an interval of the twitter created_at format or an interval of the form YYYY-MM-DD HH:MM:SS.

Usage

1
createIntervalVector(interval, intervalsteps)

Arguments

interval

which will be divided into equally sized subintervals. Interval must be of the form %d.%m.%Y %HH:%MM:%SS, for example: 11.09.2015 00:00:01

intervalsteps

specifiy the amount of subintervals

Value

interval vector of unixtimestamps in ms

Examples

1
#createIntervalVector(c("2015-12-15 00:00:01","2015-12-17 14:59:59"),3)

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