title: R Bar Graph Changes
body: <p>I am trying to make the following changes to the graph:</p>
  
  <p>(1) I would like a title for the graph that is centered. When I try adding a title, it is on the left side.</p>
  
  <p>(2) I would like the y-axis label to have more than one word. Namely "Average (Per Game)". Every time I have more than one word, the graph completely changes. I would also like "Average" and "(Per Game)" to be on different lines, if that is possible.</p>
  
  <p>(3) I would like the background of the graph to be gray, but with white grid lines. </p>
  
  <p>Any help would be much appreciated!</p>
  
  <pre><code>df &lt;- read.table(textConnection(
    'Statistic  Warm Avg Cold
    HR(Away) 1.151 1.028 .841
    HR(Home) 1.202 1.058 .949
    BB(Away) 3.205 3.269 3.481
    BB(Home) 3.286 3.367 3.669
    Runs(Away) 4.909 4.591 4.353
    Runs(Home) 5.173 4.739 4.608'), header = TRUE)
  
  library(dplyr)
  library(tidyr)
  library(ggplot2)
  
  df %&gt;% 
    gather(Temperature, Average, -Statistic) %&gt;% 
    mutate(Temperature = factor(Temperature, c("Cold", "Avg", "Warm"))) %&gt;%
    ggplot(aes(x=Statistic, y=Average)) +
    geom_col(aes(fill = Temperature), position = "dodge") +
    scale_fill_manual(values = c("blue", "yellow", "red"))+ 
    theme_bw() +
    theme(axis.title.y = element_text(angle = 0, vjust = 0.5))
  </code></pre>