Using a new empty .rmd document, this code works:
 \\begin{center} \\includegraphics[width=4in]{RainbowDolphin.png} \\end{center}
You may let Pandoc know that you have graphics in this document by specifying the YAML metadata:
--- graphics: yes ---