title: Find Frequent Word and its Value in Document Term Frequency
body: <p>So I have to find the most frequent word and its value from a DTM. </p>
  
  <pre><code>library('tm') 
  library("SnowballC")  
  my.text.location "C:/Users/mrina/OneDrive/Documents/../"
  apapers &lt;- VCorpus(DirSource(my.text.location)) class(apapers)
  apapers &lt;- tm_map(apapers, removeNumbers) 
  apapers &lt;- tm_map(apapers, removePunctuation) 
  apapers &lt;- tm_map(apapers, stemDocument, language ="en")
  </code></pre>
  
  <p>This is for cleaning the Corpus and the below one creating the DTM and finding the frequency. </p>
  
  <pre><code>ptm.tf &lt;- DocumentTermMatrix(apapers) 
  dim(ptm.tf)
  findFreqTerms(ptm.tf)
  </code></pre>
  
  <p>Is there a way to get the frequent word and the frequency value together?</p>