Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wordMat <- wfm(sentences$speech, sentences$year) #Provides freq of words per speech per year
- head(wordMat[order(wordMat[, 1], wordMat[, 2],decreasing = TRUE),]) #displays the words freq in descending order over the years
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement