Exercise in using logistic regression for classification of tweets in R