Browsing Tag

R

Collecting Tweets Using TwitterR

What is the Twitter Search API? The Twitter search API, one of three such APIs (search, streaming, “firehose“), allows access to a subset of popular or recent tweets (in the last 4-6 days). That is, it allows querying past tweets (though a…

Linear Regression Analysis using R

One of the most frequent used techniques in statistics is linear regression where we investigate the potential relationship between a variable of interest (often called the response variable but there are many other names in use) and a set…

Mapply function in R

mapply is a multivariate version of sapply. mapply function in R applies toFUN the first elements of each... the argument, the second elements, the third elements, and so on. Arguments are recycled if necessary. Vectorize returns a new…