3

I have been trying to create a report in RMD, but the plots are appearing right after each other. I would like to add more spaces in-between each plots. I would really appreciate if you can assist me on this.


ggplot(data = drivers.clean, aes(x = Age)) +
  geom_bar(aes(fill = as.factor(Smoker))) 

ggplot(data = drivers.clean, aes(x = Age)) +
  geom_bar(aes(fill = Sex)) 

Here is how my results are appearing in the PDF: enter image description here

boniface316
  • 467
  • 3
  • 17

0 Answers0