When I render my rmarkdown file as an html document it only displays the code. The plot i want to include in my document does not display in place of the code. It also won't display any of the outputs for any of my other chunks but the plot is the most frustrating.
However, the sample rmarkdown document plot, when used in my document, does display the plot and not the code as intended.
This is the plot that wont display and the corresponding code which does display.