Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. wordMat <- wfm(sentences$speech, sentences$year) #Provides freq of words per speech per year
  2. 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