SHARE
TWEET

Untitled

a guest Aug 19th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top