powered by
For a dfm object, returns a frequency for each feature, computed across all documents in the dfm. This is equivalent to colSums(x).
colSums(x)
featfreq(x)
a dfm
a (named) numeric vector of feature frequencies
dfm_tfidf(), dfm_weight()
dfm_tfidf()
dfm_weight()
# NOT RUN { dfmat <- dfm(data_char_sampletext) featfreq(dfmat) # }
Run the code above in your browser using DataLab