title: Converting basic r barplot to ggplot
body: <p>I've currently got a barplot  that has a few basic parameters. However, I'm looking to try and convert this into ggplot. The extra parameters don't matter too much; the main problem that I'm having is that I'm trying to plot the sum of various columns, but I'm unable to transpose it correctly as <code>t(data)</code> doesn't seem to work. Here's what I've got so far:</p>
  <pre><code>## Subset of indicators
  indicators &lt;- clean_data[c(8, 12, 14:23)]
  
  ## Get sum of columns
  indicator_sums &lt;- colSums(indicators, na.rm = TRUE)
  
  ### Transpose for ggplot
  (empty)
  
  
  ## Make bar plot
  barplot(indicator_sums, ylim=range(pretty(c(0, indicator_sums))), cex.axis=0.75,cex.lab=0.8, cex.names=0.7, col='magenta', las=2, ylab = 'Offences Recorded Using Indicator')
  </code></pre>