title: How do I create a histogram in R with logarithmic x and y axes?
body: <p>So I have a vector of integers, <code>quotes</code>, which I wish to see whether it observes a power law distribution by plotting the frequency of data points and making both the x and y axes logarithmic. However, I am not quite sure how to accomplish this in R. I can currently create a histogram using</p>
  
  <pre><code>hist(quotes, breaks = max(quotes))
  </code></pre>
  
  <p>But the axes are all linear.</p>