title: Hide graphs when knit in R
body: <p>I am working on a .rmd file and want to knit my file into html. So far, I am able to hide code chunks, results and comments using below but my html file still shows graphs from my code. </p>
  
  <pre><code>```{r echo = FALSE, message = FALSE, results = 'hide' }
  count(data, col1, col2) %&gt;% 
  ggplot(aes(x = col1, y = n, fill = reorder(col2, desc(n))))
  ```
  </code></pre>
  
  <p>Could you please advise what command I should use to hide my graph in the html output?</p>