title: Error using dplyr package in R
body: <p>I am using the below code to extract the summary of data with respect to column x by counting the values in column x from the dataset unique_data and arranging the count values in descending order.</p>
  
  <pre><code>unique_data %&gt;%
  group_by(x) %&gt;%
  arrange(desc(count(x)))
  </code></pre>
  
  <p>But, when I execute the above code i am getting the error message as below,</p>
  
  <blockquote>
    <p>Error: no applicable method for 'group_by_' applied to an object of class "character"</p>
  </blockquote>
  
  <p>Kindly, let me know as what is going wrong in my code. For your information the column x is of character data type.</p>
  
  <p>Regards,<br>
  Mohan</p>