title: Error in grid.arrange - arrangeGrob() function
body: <p>I have two plots p1 and p2 which I am trying to plot using grid.arrage. My code looks as below:</p>
  
  <pre><code>grid.arrange(p1, p2, ncol=2,
      top = textGrob("Distribution across each day of the week", 
      gp = gpar(fontface = "bold", cex = 1.5)),
      bottom = "Day of the week")
  </code></pre>
  
  <p>However, when I run this, I am seeing an error <code>"Error in arrangeGrob(...) : could not find function "textGrob"</code></p>
  
  <p>When I run only <code>grid.arrange(p1, p2, ncol=2)</code>, it runs fine. But without any labels and title. However, I couldnt understand what is the problem with my code. I tried both <code>main=...</code> and as well as <code>top=...</code> Neither of them works.</p>
  
  <p>Any suggestions?</p>