library("RTextTools", "topicmodels", "tm")
matrix <- create_matrix(data, language="english", removeNumbers=TRUE, stemWords = TRUE, weighting=weightTf)
> matrix
#DocumentTermMatrix (documents: 3104, terms: 7699)
#Non-/sparse entries: 28138/23869558
#Sparsity : 100%
#Maximal term length: 19
#Weighting : term frequency (tf)
This is the metadata that is being given as the output. What I want to know is that if there is any command to actually see the words being stemmed or observe the non-sparse entries. By using nrow(matrix) and ncol(matrix), I got an idea of the size of the matrix but I need more help to deconstruct the matrix.I'm using NYTimes dataset.