I have Twitter data which looks like
- #A #B #C #E
- #A #E #F
- #E #F .......
and I need to create a co-occurrence matrix with the hashtags.
I tried this code right below(How to use R to create a word co-occurrence matrix)
library(qdapTools)
crossprod(as.matrix(mtabulate(as.data.frame(t(dat[, -1])))))
but, it is not working because my data set is really big(about 300,000 tweets). What can I do? (I need a full matrix not just a high frequency words co-occurrence matrix.)