plotting histogram in R
<p>I am trying to plot a histogram in R. My bins are [1, 1.25, 1.33, 1.5, 1.67, 1.75, 2, 2.25, 2.33, 2.5, 2.67, 2.75, 3]</p>

<p>This is how I tried to do it but I am not getting the right plot. </p>

<pre><code>library(ggplot2)
qplot(x=relevance, data = train) +
  scale_x_continuous(breaks = c(1, 1.25, 1.33, 1.5, 1.67, 1.75, 2, 2.25, 2.33, 2.5, 2.67, 2.75, 3)) +
scale_y_log10()
</code></pre>