Sections in R reports with rmarkdown

An reproducible example, called a reprex would really help. I suspect you'll need to use a little LaTeX help to do this, but can't tell.